Login  Register

InlineMacro for Tooltips

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

InlineMacro for Tooltips

mikado
Hi,

I have been experimenting with AsciidoctorJ-1.6.0-alpha.3.

Can you please provide me some hints how to create an InlineMacro which produces arbitrary HTML output?
All example implementations of InlineMacros that I have seen so far always produced a link as output.

I am only interested in HTML output for now. In particular I want to implement a macro, which allows to display a tooltip with a short description when hovering over the associated element.

Example syntax:

tooltip:foobar[description="A foobar is a special kind of bar"]

Many thanks in advance!