Markdown Contents
Generate table of contents for a markdown document.
The underlying implementation is rendering markdown file into HTML and then use Contents. to generate the table of contents.
Usage
; const markdown = '';const markdownContents = ; /** * Generate flat index of the headings. * * @return */markdownContents; /** * Generates hierarchical index of the headings from a flat index. * * @return */markdownContents; /** * Generate markdown for the table of contents. * * @return */markdownContents; /** * Generate markdown contents for an array of contents object definition. * * @param * @return */MarkdownContents; /** * Makes hierarchical index of the articles from a flat index. * * @param * @param * @param * @return */MarkdownContents;