marca-hypertext-highlight

0.1.2 • Public • Published

Marca-hypertext-highlight

Code highlighting for Marca-hypertext based on highlight.js.

I am too lazy to explain hows and whys.

TODO

  • splitElem() with begin and end;
  • make line splitting optional?
  • overlapping markup is painful... what to do?
  • allow interfacing with other highlighters/parsers;
  • use Marca as highlighters/parsers output rather than HTML?
  • otherwise implement full list of HTML entities decoding?
  • allow non-span elements in HTML output?
  • browserification;
  • more DRY;
  • API review;
  • documentation;
  • tests.

Package Sidebar

Install

npm i marca-hypertext-highlight

Weekly Downloads

4

Version

0.1.2

License

ISC

Last publish

Collaborators

  • sdangelo