Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Testing syntax parsing in editors (especially emacs)

by choroba (Cardinal)
on Mar 15, 2021 at 18:16 UTC ( [id://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 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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (9)
As of 2024-04-18 16:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found