function generateToC(level, html) {
    const settings = window.$docsify['page-toc'];

    if (level > 0 && level <= settings.tocMaxLevel) {
        // Extra hack for hellomouse docs
        html = html.replace(/<span [A-Za-z""=0-9-]+>(.*?)<\/span>/g, '');
        // End hack

        return `<div class="lv${level} toc-link">${html}</div>`;
    }
    return "";
}
/**
 * Generates an individual ToC item from heading data
 *
 * @param level {number} Heading level, ie h1 => 1
 * @param html {string} innerHTML of the heading
 */
Generates an individual ToC item from heading data
@param level {number} Heading level, ie h1 => 1
@param html {string} innerHTML of the heading
Generates an individual ToC item from heading data @param level { number } Heading level ie h1 = > 1 @param html { string } innerHTML of the heading
function generateToC(level, html) {
    const settings = window.$docsify['page-toc'];
    if (level > 0 && level <= settings.tocMaxLevel) {
        html = html.replace(/<span [A-Za-z""=0-9-]+>(.*?)<\/span>/g, '');
        return `<div class="lv${level} toc-link">${html}</div>`;
    }
    return "";
}
function generateToC ( level , html ) { const settings = window . $docsify [ 'page-toc' ] ; if ( level > 0 && level <= settings . tocMaxLevel ) { html = html . replace ( / <span [A-Za-z""=0-9-]+>(.*?)<\/span> / g , '' ) ; return ` ${ level } ${ html } ` ; } return "" ; }
Generates an individual ToC item from heading data
 @param level {number} Heading level, ie h1 => 1
 @param html {string} innerHTML of the heading
Generates an individual ToC item from heading data @param level { number } Heading level ie h1 = > 1 @param html { string } innerHTML of the heading
// Extra hack for hellomouse docs // End hack