This package allows you to add unique IDs to each AsciiDoc block.
-
Add the bookmarklet, drag the following link into your browser bookmarks bar:
-
Navigate to Test document.
-
Highlight some text and click bookmarklet.
Each block is unique addressable as a url, eg a block lower in the document.
To use this package to convert your AsciiDoc to HTML, install it using
npm i -g @techwriter/asciidoc-comments
To convert your AsciiDoc files:
asciidoc-comments <filename>