bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

syntax highlighting customization file


From: Patrice Dumas
Subject: syntax highlighting customization file
Date: Wed, 27 Jan 2021 00:50:01 +0100

Hello,

To celebrate @example language new argument I did a customization file
highlight_syntax.pm that uses source-highlight to do syntax highlighting
of @example fragments, for HTML output.  A customization variable
HIGHLIGHT_SYNTAX_DEFAULT which should be set after loading the init file 
can additionally be set to specify a language when there is no argument
for @example.

If you want some specific mapping of language that you customarily use 
to the languages as expected by source-highlight, that are obtained by 
 source-highlight --lang-list
(before the = sign), you can tell here, such that it can be added to the
%languages_name_mapping mapping in highlight_syntax.pm.

-- 
Pat



reply via email to

[Prev in Thread] Current Thread [Next in Thread]