Highlights.jl icon indicating copy to clipboard operation
Highlights.jl copied to clipboard

A source code highlighter for Julia.

Results 8 Highlights.jl issues
Sort by recently updated
recently updated
newest added

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...

help wanted

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 ![image](https://user-images.githubusercontent.com/7466364/153756373-8efcfca0-ad4b-4aad-b9c1-148d5c9b31f5.png) 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)`...

enhancement

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,...

help wanted

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...

enhancement
help wanted

@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...