Formatting Netlogo code using Minted

444 views Asked by At

I don't suppose anyone has created a lexer for the Pygments package for Netlogo and would be willing to share it?

write your own lexer

It's not something I have the skills to do but having formatted code from other languages in Latex using the Minted package (which in turn uses Pygments), it is extremely useful.

1

There are 1 answers

1
Nicolas Payette On BEST ANSWER

Indeed, someone has created a lexer!

http://netlogo-pygment.sourceforge.net/

I have a vague recollection of having to fiddle with the installation a bit when I first used it, but it's been working ever since and I use it with Minted to format all my NetLogo code in documents.