Highlights.jl
Highlights.jl copied to clipboard
A source code highlighter for Julia.
Would be nice to update to a recent Documenter version so that it looks consistent with the rest of the Julia docs.
The package already has several themes based on ones ported from Pygments as well as a default one based on the official Julia colours. This issue is for tracking the...
Hey everyone, Thank you for developing this package. I plan to use it in my package [Term.jl](https://github.com/FedeClaudi/Term.jl) to show highlighted code in errors tracestack. I've been able to use the...
I don't think it looks too bad. Looks like  Using the theme: ```julia @theme CustomTheme Dict( :style => S"bg: f7f3ee; fg: 605b53", :tokens => Dict( TEXT => S"", KEYWORD...
Currently `highlight` only supports `html` & `latex` MIME types which are written to a stream. For other julia projects to use Highlights it would be helpful to implement a `show(x::Highlights.Compiler.Context)`...
A list of lexers for different languages/filetypes that would be useful to have. For the most part this list should be based on what other source code highlighters (Pygments, Rouge,...
It looks as though Format.jl sets the CSS border, margins, and padding of a `pre.hljl` selector using hard-coded values. In my testing, a theme cannot override these settings. This complicates...
@MichaelHatherly: Looking at #55, I think we'd have quite a bit of maintenance work here (getting CI working, dependabot, updating Documenter etc.). Probably worth doing, but how do we feel...