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

Only treat level-1 headings as sections in deck.js backend #117

Open
mojavelinux opened this issue Apr 2, 2015 · 2 comments
Open

Only treat level-1 headings as sections in deck.js backend #117

mojavelinux opened this issue Apr 2, 2015 · 2 comments
Labels

Comments

@mojavelinux
Copy link
Member

In the deck.js backend, all section headings are converted to <section> HTML elements. Only level-1 headings (two equal signs) should be converted to <section> HTML elements. The rest should be converted to regular section headings because they are most likely content.

The workaround currently is to add the [discrete] block style to the heading.

@wimalopaan
Copy link

Well, then you miss the numbering for normal html backend ...

@mojavelinux
Copy link
Member Author

Yes, the workaround is less than ideal. Though, you could do something like:

ifdef::deckjs[[discrete]]

Then pass the -a deckjs flag. Again, not ideal, but workable.

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
Labels
Projects
None yet
Development

No branches or pull requests

2 participants