An open API service indexing awesome lists of open source software.

https://github.com/sdangelo/marca-hypertext-highlight

Code highlighting for Marca-hypertext based on highlight.js
https://github.com/sdangelo/marca-hypertext-highlight

Last synced: 8 months ago
JSON representation

Code highlighting for Marca-hypertext based on highlight.js

Awesome Lists containing this project

README

          

# Marca-hypertext-highlight

Code highlighting for
[Marca-hypertext](https://github.com/sdangelo/marca-hypertext) based on
[highlight.js](https://highlightjs.org/).

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.