It is an Asciidoctor Extension, it turns the link in the comment of the source block into a clickable jump link.
MIT License
= asciidoctor-comment-links
ifdef::env-github[] :tip-caption: 💡 :note-caption: ℹ️ :important-caption: ❗ :caution-caption: 🔥 :warning-caption: ⚠️ endif::[]
Turn the link in the comment of the source block into a clickable jump link.
TIP: Now, it only support https://github.com/rouge-ruby/rouge[Rouge^] highlighter.
== Installation
This extension is published on RubyGems as https://rubygems.org/gems/asciidoctor-comment-links[asciidoctor-comment-links^]. Install the gem by adding it to your project's Gemfile or gemspec and running Bundler. Or install it directly:
$ gem install asciidoctor-comment-links
Be sure to use Asciidoctor v2.0.0 or later.
$ asciidoctor -V
Asciidoctor 2.0.0 [https://asciidoctor.org]
Use Asciidoctor's --require
option like this:
$ asciidoctor -r asciidoctor-comment-links sample.adoc
== Contributing
Thank you for your support!