This VSCode extension is developed to lower the levels of all headers in the selected part of a Markdown file.
I used Academic to build my personal website. However, I encountered difficulties when adding the Markdown file in the Courses section: the TOC in this section uses the second level headers of the Markdown file to construct its first level headings, and so on for other headers. To deal with this problem, I developed this VSCode extension.
- Lower the levels of all headers in the selected part of a Markdown file. See an example below.
- This VSCode extension is available in the VSCode Extension Marketplace now. Search
lower header level for Markdownin it and install or click here to visit the installation page directly.
- Select the text including the headers of which levels you want to lower.
- Type
CTRL+SHIFT+Pto open the command board and inputlower header level for Markdown. A shortcutCTRL+SHIFT+3is also provided.
https://github.com/ruichima/lower-header-level-for-markdown
Remove the message box 'success!' in the lower right corner. Reduce the size of gif for example in README.
Fix bug: Can't lower the level of head which includes reserved characters in markdown: { } . * + ? ^ $ \ |.
Update README.
Initial release.
