TOC
01 Syntax
Microsoft.VisualBasic.MIME.text.markdown.TOC
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| GenerateToc | 1 | Generate a nested markdown table of contents from the ATX headers (# .. |
| Slug | 1 | Make a url friendly anchor slug out of a header text. |
| AddToc | 1 | Insert a generated table of contents at the top of the markdown document. |
03 Members
GenerateToc(
String, Boolean)Generate a nested markdown table of contents from the ATX headers (# .. ######) found in the document.
Parameters
| Name | Type | Description |
|---|---|---|
md | String | The markdown source text. |
numbering | Boolean | Reserved for future numbered list output. |
Returns
A markdown list string representing the document outline.
Slug(
String)Make a url friendly anchor slug out of a header text.
AddToc(
String, Boolean, Boolean)Insert a generated table of contents at the top of the markdown document.
Parameters
| Name | Type | Description |
|---|---|---|
md | String | The markdown source text. |
numbering | Boolean | Reserved for future numbered list output. |
autoSave | Boolean | Reserved for future file persistence. |
Returns
The markdown document with a TOC block prepended.