Unilight

Unilight is a unicode highlighter: that means pure string code Highlighting for almost any languague. It uses unicode variations, making possible to highlighted raw strings for any output that suports unicode and its variations, for almoast any language. Useful to post code where there is no supoort for rich editor or native highlighting.

If you want to highlight strings programatically, create your own highlighter, parse a source code string and modify its tokens, derive a tool from this library or anything else, you may want to check the Github Repository and Docs.

Warning

This is a toy project and it was made for aesthetics only. Some of the cavets of a unicode highlighter are:

  1. Environments that does not support unicode can show a broken text
  2. Since unicode variations are basically hidden chars, the String may be bigger then it looks
  3. Interpreters Wont run the code because of the keywords will not be recognized
  4. The unicode caracters may vary from one system to another

Unicode Highlighter

// This is an example function example() { const a = "fizz"; const b = "buzz"; return a+b; }

Output:

Unilight was written by Felippe Regazio