asciidoctor / asciidoctor.org

:globe_with_meridians: Asciidoctor project site. Composed in AsciiDoc. Baked with Awestruct.
https://asciidoctor.org
Other
322 stars 807 forks source link

add extension: asciidoctor-comment-links #1021

Closed diguage closed 2 years ago

mojavelinux commented 2 years ago

I'd rather add this as an example in the docs. The extensions on this page are mostly about full-featured integrations, not just small customizations. Besides, this isn't really an extension so much as it is a custom Rouge adapter.

mojavelinux commented 2 years ago

I have added this use case to the docs. See https://docs.asciidoctor.org/asciidoctor/latest/syntax-highlighting/custom/#create_formatter-rouge That's where I'd like it to stay for now.