respec-hljs

2.1.1 • Public • Published

ReSpec custom highlighter

The highlighter bundle used by ReSpec.

The bundle is build as a Commonjs module ("dist/respec-highlight.js"). It exports a single object respecHljs, which is just hljs, but already initialized with the default languages.

import respecHljs from "path/to/respec-highlight";

In the worker, it shows up as

self.respecHljs;

/respec-hljs/

    Package Sidebar

    Install

    npm i respec-hljs

    Weekly Downloads

    42

    Version

    2.1.1

    License

    W3C

    Unpacked Size

    31 kB

    Total Files

    10

    Last publish

    Collaborators

    • marcosc