rouge
rouge copied to clipboard
A pure Ruby code highlighter that is compatible with Pygments
**Name of the lexer** GraphQL **Code sample** ``` graphql """ InputOne's description (works) """ input InputOne { """ id's description (doesn't work) """ id: Int! } """InputTwo's description (doesn't work)"""...
**Is your enhancement request related to a problem? Please describe.** Reducing the effort to support additional themes. **Describe the solution you'd like** GtkSourceView implements an XML format for themes. It's...
**Is your enhancement request related to a problem? Please describe.** PHP8 added [attribute support](https://www.php.net/manual/en/language.attributes.overview.php), but they are currently rendered as simply a comment. **Describe the solution you'd like** I would...
**Name of the lexer** PowerShell **Code sample** A sample of the code that produces the bug. ``` function Write-Log { Param( $Message, $Path = "L:\IISSiteAudit.txt" ) function TS { return...
When using escape lexer with php lexer, it is not possible to highlight fragment of php code (if not starting with `
**Name of the lexer** PHP **Code sample** ```php
**Name of the lexer** PHP **Code sample** A sample of the code that produces the bug. ```php $map = ['key' => 'value']; $key = 'key'; $a = []; // Does...
Now that [Liquid 5.0.0](https://github.com/Shopify/liquid/blob/HEAD/History.md#500--2021-01-06) is out, this is a rework of the Liquid lexer for simplification and additional syntax features (including a few that aren't in the documentation yet): -...
## Description With Ruby 2.4 EOL (https://www.ruby-lang.org/en/news/2020/04/05/support-of-ruby-2-4-has-ended/), we should drop support for old versions to reduce Rouge gem maintenance effort. It also helps to reduce build runtime and avoid overrunning...
**Name of the lexer** html lexer **Code sample** ```html // ```  **Additional context**