rouge
rouge copied to clipboard
A pure Ruby code highlighter that is compatible with Pygments
**Name of the lexer** Java **Code sample** ```java import static org.junit.jupiter.api.Assertions.assertEquals; ``` `import`, `static`, `org`, and `junit.jupiter.api.Assertions.assertEquals` are all highlighted differently. `import static` statements should be treated the same as...
This is a regression for #906 and #996 **Name of the lexer** Kotlin lexter **Code sample** A sample of the code that produces the bug. ``` @Test fun `adding one...
## Context Increase color vs background color contrast in `base16` theme to make it easier to read comments. ### Screenshots using theme base16.dark | Before `#505050` | After `#858585` |...
**Name of the lexer** Its the Typescript lexer. **Code sample** A sample of the code that produces the bug. ```ts export const AffixMapping: Record = { // Level 2 [Affix.Fortified]:...
**Name of the lexer** Java **Code sample** All of floating-point literals start with "0x" in below code are not highlighted well. ``` System.out.print(0x1p-1); // 0.5 System.out.print(0x.1p-2); // 0.015625 System.out.print(0x.1p0); //...
**Name of the lexer** html **Code sample** angular html templates may show the following attribute syntax: ``` #usernameFormControl="ngModel" ``` **Additional context** I could workaround by providing my own lexer with...
I'm not sure how much interest there might be to support DAX and MDX. There are a few solutions out there: * http://sascha-kasper.com/dax-syntax-highlighting-for-notepad/ * https://www.sqlbi.com/tools/dax-studio/ However, these can't be used...
Adding the support for Smithy: https://smithy.io/2.0/index.html
Hi all, Please find below information related to the development of a Scilab parser in Rouge. Best regards. **The name of the language** Scilab: https://www.scilab.org/ Online help: https://help.scilab.org/ **Implementation in...