Login  Register

Re: Asciidoctor Java and the icons

Posted by LightGuardjp on May 21, 2013; 4:26pm
URL: https://discuss.asciidoctor.org/Asciidoctor-Java-and-the-icons-tp213p214.html

Alex could probably say for sure, but this is something that is either fixed in 0.1.2.1 or will be in 0.1.3


On Tue, May 21, 2013 at 9:14 AM, Hocdoc [via Asciidoctor :: Discussion] <[hidden email]> wrote:
I use the Asciidoctor Java integration and it works great, thanks for your work!

My beginner question: I want to render an admonition paragraph (like `TIP:`, `IMPORTANT:`) with an icon on the left side. I have added `:icon:` to the head of my document, but no image link is generated in the HTML when I generate it from Java.

The admonition paragraph gets rendered as `...<.div class="title">Tip</div> ...`. When I call the `asciidoctor` command from the command line, the same paragraph gets rendered like `...<.td class="icon"><.img src="/images/icons/tip.png" alt="Tip"/><./td>...`. (with removed "." after "<")

How can I change the default rendering of AsciiDoc-for-Java to get these icon-links?



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



--
Jason Porter
http://en.gravatar.com/lightguardjp