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
- Host: GitHub
- URL: https://github.com/sdangelo/marca-hypertext-highlight
- Owner: sdangelo
- License: isc
- Created: 2016-07-08T06:10:45.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-03-18T16:46:49.000Z (over 9 years ago)
- Last Synced: 2025-06-03T23:53:17.014Z (about 1 year ago)
- Language: JavaScript
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.