Login  Register

Re: Printing the id of a block

Posted by mojavelinux on Apr 23, 2020; 8:47am
URL: https://discuss.asciidoctor.org/Printing-the-id-of-a-block-tp7943p7949.html

Absolutely. An extension can modify the document in almost any conceivable way. I would probably use a tree processor for something like this, which can visit the source blocks and manipulate the data.

Best Regards,

-Dan

On Thu, Apr 23, 2020 at 2:11 AM Daniel K [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Hi Dan,
thanks for the information.

Would there also be a possibility to solve this issue by writing a plugin which inserts the id into the output?

Regards,

Daniel


If you reply to this email, your message will be added to the discussion below:
https://discuss.asciidoctor.org/Printing-the-id-of-a-block-tp7943p7948.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML


--
Dan Allen | @mojavelinux | https://twitter.com/mojavelinux