El viernes, 2 de octubre de 2015, 13:27:10 (UTC-5), Jameson escribió: > > I think he might have been looking for syntax hightlighting, like > http://pygments.org/docs/lexers/#lexers-for-the-julia-language? >
Yes, the Python pygments package is a good option. Install with `pip install pygments`. It's easiest to use from the command line, e.g. pygmentize -O full -f html -l julia input.jl to get a full HTML page as output. See e.g. https://github.com/dpsanders/RepoHistoryBrowser.jl/blob/master/src/RepoHistoryBrowser.jl > On Fri, Oct 2, 2015 at 2:24 PM Stefan Karpinski <[email protected] > <javascript:>> wrote: > >> The default printing of Julia ASTs is the best I'm aware of. Does it not >> do the trick? >> >> On Fri, Oct 2, 2015 at 2:09 PM, Michael Turok <[email protected] >> <javascript:>> wrote: >> >>> Anyone have a preferred pretty printer for julia source code - or any >>> enscript states file around? >>> >>> Michael >>> >>> >>> >>
