@taufik-nurrohman/ash

0.0.3 • Public • Published

Asynchronous Syntax Highlighter (~4 KB Minified)

A hard mode client-side syntax highlighter for the web.

Asynchronous Syntax Highlighter

Ash aims to solve problems related to client-side syntax highlighter file size which usually gets bigger as you have more syntax variants that you want to highlight. With Ash, you will only need to load the main file once, and the associated language files will be loaded automatically as needed.

Demo and Documentation


Release Notes

0.0.3

  • Improved PHP syntax highlighter to mark PHP code that spans in a HTML tag.
  • Added CSV, TSV, and Twig syntax highlighter.

0.0.2

  • Fixed word boundary pattern bug.

0.0.1

  • Initial release.

Package Sidebar

Install

npm i @taufik-nurrohman/ash

Weekly Downloads

0

Version

0.0.3

License

MIT

Unpacked Size

103 kB

Total Files

69

Last publish

Collaborators

  • taufik-nurrohman