rouge
rouge copied to clipboard
A pure Ruby code highlighter that is compatible with Pygments
I'm new to writing Rouge lexers and no expert when it comes to the TLA+ language but this does a decent enough job of syntax highlighting basic TLA+ files on...
**The name of the language** HAproxy configuration file syntax Example for the current stable version, v.2.4: http://cbonte.github.io/haproxy-dconv/2.4/configuration.html#2.1 **Implementation in other libraries** No. :( But a [NestedText](https://nestedtext.org/en/stable/) seems to be a...
**Name of the lexer** powershell **Code sample** ``` Get-ChildItem *.txt -Recurse ` | Get-Content ` | Select-String -Pattern 'https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)' -AllMatches ` | % { $_.Matches } ` | % {...
**The name of the language** Sentinel https://docs.hashicorp.com/sentinel/language/spec **Implementation in other libraries** VIM - https://github.com/hashicorp/sentinel.vim VSCode - https://marketplace.visualstudio.com/items?itemName=sparty02.sentinel-vscode **Additional context** We would like to have syntax highlight for this language in...
**Is your enhancement request related to a problem? Please describe.** We'd like highlighted markup to link certain tokens to external anchors in the document the code is embedded within. **Describe...
**Is your enhancement request related to a problem? Please describe.** The github theme has a number of color / background choices that raise accessibility issues in tools like [ANDI](https://www.ssa.gov/accessibility/andi/help/howtouse.html) -...
**The name of the language** [tree](https://linux.die.net/man/1/tree) **Implementation in other libraries** **Additional context** Everyone has different ways of showing a directory tree, but I think it would be good to have...
**Name of the lexer** nasm Since disassembly starts with addresses, the lexer gets confused. I am aware that nasm lexer's main focus is not highlighting a disassembly, but as you...
**Name of the lexer** ocaml **Code sample** ```ocaml let isquote c = match c with '"' | '\'' -> true | _ -> false ``` Link to sample on rouge.jneen.net...
- [x] Added thin as a dependency (needed this to spin up a local server for development) - [x] Added test artifacts for the Structurizr DSL (basically copied as many...