Asciidoctor :: Discussion
Re: How to create inline macro producing HTML? (In AsciidoctorJ)
Posted by
abelsromero
on
URL:
https://discuss.asciidoctor.org/How-to-create-inline-macro-producing-HTML-In-AsciidoctorJ-tp8313p8320.html
See! It was me all allong, that's what I was missing, thanks!
You need an inline macro for sure, now I have everything I need to delve into it later.
In the meantime, if you feel brave, you can have a look at
https://github.com/asciidoctor/asciidoctor-extensions-lab
, there are some inline macro examples, but in Ruby. For example this one seems to inject HTML directly
https://github.com/asciidoctor/asciidoctor-extensions-lab/blob/master/lib/emoji-inline-macro/extension.rb
, but could be AsciidoctorJ has some incompatibility/bug.
Free forum by Nabble
Edit this page