Hi Laurent,

Thank you for nice information. I'm glad to hear it.

And made a macro for 4.0 version.

[macros]
(?su)[\\]?(?P<name>fa):(?P<target>\S*?)\[]=fa1
(?su)[\\]?(?P<name>fa):(?P<target>\S*?)\[(?P<attrlist>.*?)(?<!\\)\]=fa2
[fa1-inlinemacro]
<span class="fa fa-{target}"></span>
[fa2-inlinemacro]
<span class="fa fa-{target} fa-{attrlist}"></span>

Use fa:[] or fa:[3x] .

Thanks,

2013年11月27日水曜日 19時26分33秒 UTC+9 Laurent Laville:
>
> Hello Shun,
>
> Nice work ! Even if idea is not new : 
> Dan Allen make it first available on AsciiDoctor [1], and I follow his 
> steps to make it available for AsciiDoc-Bootstrap backend [2]
>
> Official release 3.1.0 of my bootstrap backend version will come soon now 
> (less than a week).
>
> +1 for idea to include this inline macro in AsciiDoc
>
> Laurent
>  
> 1. https://github.com/asciidoctor/asciidoctor/issues/529
> 2. 
> http://laurent-laville.org/asciidoc/bootstrap/manual/3.1/en/macros.html#icons
>
>
> Le mercredi 27 novembre 2013 05:39:13 UTC+1, shun fukuzawa a écrit :
>>
>> Hi everyone,
>>
>> I wrote a small macro to combine Asciidoc and Font Awesome. And I made 
>> presentations
>> with FA fonts in English and Japanese. The macro is on the last page of 
>> those presentations.
>>
>> https://www.dropbox.com/sh/eqgh0r3xys030s4/MoYzTy6jUt
>> (PDF, html and text sourceh in Englis and Japanese)
>>
>> Font Awesome is a font set to embed graphical fonts into Twitter 
>> bootstrap, but also it can
>> be used in normal HTML files. My macro is to simplify a method to use FA 
>> fonts in Asciidoc style.
>>
>> Thanks!
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/asciidoc.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to