Neverending Plethora of Modules
    Have ideas to improve npm?Join in the discussion! »

    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.

    Install

    npm i marca-hypertext-highlight

    DownloadsWeekly Downloads

    1

    Version

    0.1.2

    License

    ISC

    Last publish

    Collaborators

    • avatar