rainbow
rainbow copied to clipboard
Simple syntax highlighting library written in javascript
Hi, How would it be possible to add support for Typescript? https://www.typescriptlang.org/
PHPDoc comments are now identified with classes "comment phpdoc". Keywords are also identified with classes "keyword phpdoc" Shell command that uses backticks (ex. `rm -r`) are now identified as "shell...
Hi, I have some troubles with tab indent mith multiline code snippets. I initially used css property white-space: normal; to remove blanks but this remove all tabs and line breaks....
So here's the html I have added. For the disabled state, and checked state, it automatically adds the equal signs and quotations. Is there a way to remove on for...
Hello, How would it be possible to add support for OCaml? I have a base for a lexer written in Swift here: https://github.com/GroupeMINASTE/OCaml-iOS/blob/main/OCaml/Models/OCamlLexer.swift (don't know if it can help)
If the syntax highlighter is run using `requestAnimationFrame`, it flashes for a split second before it is rendered. Is this a bug or is it intended?
Hi, im using symfony with encore web-bundle installing it via npm failed 1) require('rainbow-code/src/rainbow-node) required the file mentioned in the package.json by compiling the assets (npm run dev) i got...
Some SQL variants (e.g. [mysql](https://dev.mysql.com/doc/refman/8.0/en/comments.html) and [BigQuery](https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical#single-line-comments)) allow use of a `#` to denote the start of a single-line comment: ```sql select * # This is a comment from table...
Hi I've integrated the rainbow-library into my webpage. Whenever I put some html-code into my page and put it between the pre- and code tags ... the html-code is still...
Hi dear friends. I have this code and use your highlighter: ``` ExpiresActive On ExpiresDefault "access 7 days" ``` But highlighter add ="" after mod_expires.c, and i'm see ``` ExpiresActive...