AsciiDoc Source Code Highlight Filter 

/usr/share/doc/asciidoc/examples/source-highlight-filter/source-highlight-filter.html

Install 

To install the AsciiDoc filter:

  1. Copy the filter (./examples/source-highlight-filter/source-hightlight-filter.conf) to one of the standard AsciiDoc filter locations — typically /etc/asciidoc/filters/ or ~/.asciidoc/filters/.
  2. Test it by converting this file to HTML with AsciiDoc:

    $ cd ./examples/source-highlight-filter
    $ asciidoc source-highlight-filter.txt