Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re: Testing syntax parsing in editors (especially emacs)

by choroba (Archbishop)
on Mar 15, 2021 at 18:16 UTC ( #11129699=note: print w/replies, xml ) Need Help??

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

This is what I usually use to htmlize text the Emacs 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 (Cardinal) 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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11129699]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2021-06-16 14:51 GMT
Find Nodes?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)

    Results (76 votes). Check out past polls.