If Dan is watching the list I'm sure he'll have a good solution, but I'll take a look too.—
Sent from Mailbox for iPhoneOn Fri, Jul 19, 2013 at 1:16 PM, Emmanuel Bernard [via Asciidoctor :: Discussion] <[hidden email]> wrote:
I know this is somewhat sacrilege but I am looking for a way to integrate font-awesome icons into an asciidoc document that is the template for an html page (generated by Awestruct).
Font Awesome is used in HTML like this and this tag is replaced by a nice icon. Thing of it conceptually as an image, except it uses font and unicode.
I tried to use the ability to attach roles to text
[source, asciidoc]
----
= [icon-camera-retro]#sometext# Nice camera
----
It works but also displays some text after the icon. Trying to replace it with nothing or with an empty space did result in a parser misinterpretation.
Do you have a solution to this challenge?
EmmanuelIf you reply to this email, your message will be added to the discussion below:http://discuss.asciidoctor.org/Asciidoc-template-based-site-awestruct-and-font-awesome-tp383.htmlTo start a new topic under Asciidoctor :: Discussion, email [hidden email]
http://discuss.asciidoctor.org/Asciidoc-template-based-site-awestruct-and-font-awesome-tp383p384.htmlIf you reply to this email, your message will be added to the discussion below:To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML
Free forum by Nabble | Edit this page |