Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom class should go directly on tag for inline markup in dzslides backend #8

Open
mojavelinux opened this issue May 10, 2013 · 1 comment

Comments

@mojavelinux
Copy link
Member

Currently, the inline_quoted template puts a custom class on a nested <span> element for inline markup such as strong, emphasis, monospace, etc. For example:

[myclass]*text*

becomes

<strong><span class="myclass">text</span></strong>

This output inherits from the HTML 5 backend in AsciiDoc. But we don't have to follow it for the dzslides backend. Instead, the class should be put directly on the tag, when there is one, such as:

<strong class="myclass">text</strong>

This just makes sense and makes styling a heck of a lot simpler.

@LightGuard
Copy link
Member

👍

shallada pushed a commit to datastax-training/asciidoctor-backends that referenced this issue Oct 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants