@highlight module

Highlight the specified code lines.

@highlight LINES[,ONLY]

Parameters

  1. LINES {String}:

    The lines to highlight like 2-4.

  2. ONLY {String}:

    Collapse non-highlighted lines greater than three lines away (useful for long code snippets).

    /**
     * ```js
     * {
     *   "name": "bit-docs",
     *   "description": "Documentation generator",
     *   "author": "Bitovi",
     *   "license": "MIT",
     *   "date": "2017",
     *   "location": "Chicago",
     *   "season": "Summer",
     *   "awesome": "yes"
     * }
     * ``` 
     *
     * @highlight 2-4,only
     */
    

Injects a <span line-highlight="2-4,only"></span> element to the page that will be picked up and used by the static front-end script bit-docs-html-highlight-line/highlight-line.js.