Using Preambel with deck.js scrambles output

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

Using Preambel with deck.js scrambles output

wimalopaan
Hi all,

if you use a preamble together with deck.js, the preamble gets shown on every(!) slide. So, the slide content and the preamble get mixed and the content is unreadable.

Is this a bug?

Reply | Threaded
Open this post in threaded view
|

Re: Using Preambel with deck.js scrambles output

mojavelinux
Administrator
Very likely. I doubt the preamble has been handled / customized for the deck.js backend. Would you like to give it a try? Perhaps start by filling an issue in the asciidoctor-backends repo.


One way to address this is to create a dedicated slide for the preamble (wrap it in the correct HTML element). Another solution is to output nothing in the block_preamble.html.haml file and instead check for the presence of a preamble in the document.html.haml and weave it into the title slide or something.

Cheers, 

-Dan

On Tue, Sep 9, 2014 at 1:15 AM, wimalopaan [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Hi all,

if you use a preamble together with deck.js, the preamble gets shown on every(!) slide. So, the slide content and the preamble get mixed and the content is unreadable.

Is this a bug?




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



--