Sections and deck.js

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Sections and deck.js

wimalopaan
Hi all,

how can I change the html representation of headings for the deck.js backend: all sectionlevels of asciidoc are translated into
<h2>
 tags. I would like to have
<h3>
 for e.g. level 3 sections of asciidoc.

Any hints?

--
Wilhelm  
Reply | Threaded
Open this post in threaded view
|

Re: Sections and deck.js

mojavelinux
Administrator
The quickest way to get a simple section heading is to add the [discrete] block style to it.

----
[discrete]
== Just a plain 'ol heading
----

However, I think that the backend should only be creating a section for level-1 headings. The rest of the headings (which would be slide content) should be treated normally (not as sections). It's necessary to check the level in the section template. I've filed an issue.


Cheers,

-Dan


On Tue, Feb 10, 2015 at 9:37 AM, wimalopaan [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Hi all,

how can I change the html representation of headings for the deck.js backend: all sectionlevels of asciidoc are translated into

 tags. I would like to have

 for e.g. level 3 sections of asciidoc.

Any hints?

--
Wilhelm  


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Sections-and-deck-js-tp2776.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML




--