hilite icon indicating copy to clipboard operation
hilite copied to clipboard

Hilite - a simple code to HTML syntax highlighter

Results 5 hilite issues
Sort by recently updated
recently updated
newest added

Hello! This is a very interesting project, particularly in the world of static site generators, and it would make it easy to do without highlightjs to support the syntax highlighting....

With multiple Go tmbundles I've tested, a single line comment starting with // will cause tokenising to fail after that point. This is unfortunate as some Go code uses //...

There is an assert in `highlight_tokens` in `hilite.ml` that checks the tokeniser is only moving forward through the code. In parsing a simple go function using a couple of different...

In the OCaml manual, the syntax highlighting for integers in code examples is inconsistent. Some integers are displayed in grey, resembling the color used for comments, while others are correctly...

Tests for #26 -- seems to be working for this small example. I used https://github.com/rsms/Go.tmbundle. cc @mdales