-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Hey everyone,
Thank you for developing this package.
I plan to use it in my package Term.jl to show highlighted code in errors tracestack.
I've been able to use the docs to define my Format.render to produce ANSI codes with Term.jl and I'm styling a theme as well.
What I would like to know is if there's examples/docs on defining additional tokens. For instance I want to highlight type hints like ::Union{Nothing String}. I can do that on my own using regexes etc, but it would be great to be able to simply define additional tokens. Also, regarding type hints, the : in ::Union gets highlighted as an OPERATOR, which might not be what one would expect here?
Metadata
Metadata
Assignees
Labels
No labels