module

Asciidoctor::SyntaxHighlighter

A pluggable adapter for integrating a syntax (aka code) highlighter into AsciiDoc processing.

There are two types of syntax highlighter adapters:

  1. Server-side: performs syntax highlighting during the convert phase (highlight? returns true)
  2. Client-side: assumes syntax highlighting is performed on the client (docinfo? returns true)

Ported from Ruby Asciidoctor lib/asciidoctor/syntax_highlighter.rb

Nested types