Revision history for Perl extension Text-ANSI-Highlight

0.04 2026-11-19T03:56:42Z

    - A code block which has parts is colored part by part, by a
      module Text::ANSI::Highlight::Block::NAME for a block of that
      name.  Text::ANSI::Highlight::Block::embedz is the one for a
      block of pandoc-embedz: the configuration is YAML, the template
      is Jinja2, and the data has the language of its format
    - highlight takes the line of a fence for the language, and the
      class method parts gives the parts of a block with their labels
    - A class in braces is the language of a fence, as pandoc takes
      it: ```{.perl .numberLines}
    - new(background => 0) takes the colors of the background out of
      what the highlighter gives
    - SGR sequences which have a parameter with colons (38:2::R:G:B)
      are taken for colors
    - A file of the name cpanfile is Perl

0.03 2026-11-18T09:18:39Z

    - The style of the highlighter can be given: new(style => ...),
      or "name:style" in one word (pandoc:haddock, gnu:esc256), and
      --style of ansihighlight.  It is the name of a style of the
      highlighter, or a file
    - Markdown in a fence goes to the highlighter with the rest, in
      one call: it was a call for each, and slow with many of them

0.02 2026-11-18T08:06:25Z

    - Text::ANSI::Highlight::IO: a program which reads files by <>
      reads them in colors, as it is.  It gives a highlighter to
      IO::Factotum (perl -MText::ANSI::Highlight::IO -ne ...)
    - The highlighter method tells whether a name is that of a
      highlighter
    - pl is Perl: source-highlight took it for Prolog
    - SEE ALSO has modules which do similar things
    - Requires IO::Factotum 0.05

0.01 2026-11-18T03:43:37Z

    - original version: Text::ANSI::Highlight, with the highlighters
      pandoc, sourcehighlight (gnu) and skylighting (sky), and the
      ansihighlight command

