Rouge
Highlight code snippets while preserving literal text.
rouge-ruby · Writing and text
GitHub projectOpen source Open on GitHubHow to try it
With Ruby 3.2 available, install rouge at version 4.6.1. Highlight a small Ruby assignment and check the markup and HTML escaping.
What we tested
4.6.1. Highlight a small Ruby assignment and check the markup and HTML escaping. The highlighter marked Ruby tokens and escaped the less-than sign.
Reviews
Rate this repoMore to explore
- CommonmarkerTurn CommonMark text into HTML from Ruby.GitHub projectOpen source
- GemojiLook up emoji by their short names and read their Unicode value.GitHub projectOpen source
- HamlRender compact Ruby HTML templates with nested elements.GitHub projectOpen source