rouge
rouge copied to clipboard
A pure Ruby code highlighter that is compatible with Pygments
in bug trackers you often need to post stacktraces it would be nice to have for some languages stacktrace support to make them better readable you could for example introduce...
**Is your enhancement request related to a problem? Please describe.** It can be hard differentiate a standard type (e.g., interface/class) and a generic type parameter. ``` class Container { ......
**Is your enhancement request related to a problem? Please describe.** I'm started using SQLX in Dataform projects and realized that rouge-based syntax highlighting doesn't work with these files. **Describe the...
**Name of the lexer** python **Code sample** A sample of the code that produces the bug (note the missing `'` in the return value of the doctest) ```python def test():...
Fixes #1961 This PR fixes >300 warnings that are emitted while loading the code and/or running specs with warnings on. Please consider reviewing this by commit. Also consider turning off...
This adds match & case as keywords, used by python 3.10 structural pattern matching ( https://peps.python.org/pep-0634/ ) (screenshot from rouge's visual test page)
## Summary Fixes an issue with the Python lexer where any identifier used before an opening paren `(` would be highlighted as a function name. This led to inconsistent highlighting...
**Name of the lexer** cpp **Code sample** A sample of the code that produces the bug. ``` template inline __attribute__((always_inline)) const char* alignedAfter(const char* ptr) noexcept { auto offset =...
Updates the lexer for Igor Pro from Wavemetrics with the functions and operations list of the latest Igor Pro 9 version.
The about section of this repository points to the "legacy" website:  I guess it should be: https://rouge-ruby.github.io/docs/