MD-ContentsInstallThis package is not formally registered with npm. To install:
UsageVisual CodeIn Visual Code, spin up a Command Palette (
Command LineTo add a contents section to an existing MarkDown document, execute the following from a command line:
To remove a contents section from an existing MarkDown document, execute the following from a command line:
To add a contents section to an existing MarkDown document and navigation aids to subsections, execute the following from a command line:
To remove a contents section and navigation aids from an existing MarkDown document, execute the following from a command line:
:notebook: There is no ability to update the contents already added to a MarkDown document using this utility. As a workaround, remove the existing contents and add again using the procedures above. Known IssuesIf you get the following error when executing md-contents from a command line in a Windows environment, try adding the path to your main npm installation as an environment variable called
:notebook: The path to you main npm installation is typically |