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

Admonitions (TIP, NOTE...) are rendered in deck.js only as text, and without space #119

Open
batmat opened this issue May 23, 2015 · 1 comment
Labels

Comments

@batmat
Copy link

batmat commented May 23, 2015

Hi,

Currently, if you write something like the following in a slide :

TIP: Some great tip! Guys, that rocks.

It will be rendered as:
tip-adoc-deckjs-rendered

With the following html :

<div class="admonitionblock tip">
<table>
<tr>
<td class="icon">
<div class="title">Tip</div>
</td>
<td class="content">
Some great tip! Guys, that rocks.
</td>
</tr>
</table>
</div>

It would be great if this could be rendered like in the typical documentations by default (tip being a lightbulb, for example).

At least, there should be a space between the "TIP" title and the provided text.

Thanks a lot for that great tool. I love being able to write my slides in a very simple way.
Cheers

@batmat batmat changed the title Admonitions (TIP, NOTE...) are rendered in deck.js only as text, and without text Admonitions (TIP, NOTE...) are rendered in deck.js only as text, and without space May 23, 2015
@mojavelinux
Copy link
Member

We recently made a similar change for the reveal.js backend. You can see what has to be done by examining that pull request.

asciidoctor/asciidoctor-reveal.js#25

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