in reply to Testing syntax parsing in editors (especially emacs)

This is what I usually use to htmlize text the Emacs way:htmlize.sh. It uses the Htmlize package.

I don't use headless Emacs, as without the "head", the colours are different, and I haven't found a way how to enable them (but I haven't tried hard).

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Replies are listed 'Best First'.
Re^2: Testing syntax parsing in editors (especially emacs)
by LanX (Saint) on Mar 15, 2021 at 19:07 UTC
    Thanks, a very similar approach, but your htmlize.el seems to be an external package, htmlfontify seems to be core.

    Still a hack but does the job so far. :)

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery