rouge
rouge copied to clipboard
A pure Ruby code highlighter that is compatible with Pygments
This helps to reduce memory consumption by allowing objects to be garbage collected. This can be verified by running `rake check:memory` task. ```diff retained objects by file 15 rouge/lib/rouge/lexers/mosel.rb 14...
I recognise that this is outrageously niche, and I recognise that this might be stretching the definition of "language" substantially, but I thought I'd give it a shot :)
Fixes #1312 for coq. Unfortunately it does not fix this for every language, but as a general rule for fixing other languages that should support unicode identifiers, replace `[a-z]`/`\w` or...
Resolves #1704
**Is your enhancement request related to a problem? Please describe.** The `http` lexer currently fails if the code is not a whole request or response. It would be very useful...
Fix Rubocop [`Lint/DuplicateBranch`](https://docs.rubocop.org/rubocop/cops_lint.html#lintduplicatebranch) offenses.
Many improvement for openedge abl langage - [x] disambigate `.p` and `.cls` - [x] add missing file extensions - [x] add alias `abl` - [x] add missing keywords - [x]...
**Is your enhancement request related to a problem? Please describe.** [The `Rule` keyword](https://cucumber.io/docs/gherkin/reference/#rule) was added in v6, but Rouge doesn’t recognize it. **Describe the solution you'd like** Rouge should recognize...
Hello, thank you for your amazing code highlighter! I'm using it on my Jekyll blog 😃 Would it be possible to add support for Agda? (there's already support for Coq,...
This MR will: * Add a new "unless" condition to an existing "push :paramters" declaration in a rule in the :root state to fix handling of subexpressions nested in strings....