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-tp8313p8317.html

There's definetly something I am missing, to my understanding the example in AsciidoctorJ should do what you are asking.
The example injects HTML and it states "As we want to pass through the content directly into the result the context must be pass and the content is the computed HTML string". Also, I know the examples are run as tests during builds, so this works.

I'll build a test later (count 10h from now) but again, I suspect I don't understand the real problem. Can you share a reproducer or exact HTML examples of what expect and waht you get?