Vscode-markdown: No outline if first-level title is missing

Created on 17 Mar 2018  ·  2Comments  ·  Source: yzhang-gh/vscode-markdown

If the markdown file does not present a first-level title (one #), the ouline is not produced. Unfortunately, when using Static Site Generators like Jekyll or Hugo, the first level title is often managed by the front-matter title attribute, and the titles inside the document start at ##.

Could you support that type of document, please (and thanks for all you've done so far, the plugin is very useful)?

How can I reproduce it?

A document with only ## titles has no outline on the VSCode Outline area.

Is there any error message in the console? (from menubar -> Help -> Toggle Developer Tools)

No there isn't.

UI table of contents Bug Fixed

Most helpful comment

You can download and use this preview version.

All 2 comments

You can download and use this preview version.

Wonderful! Thank you very much!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lotapp picture lotapp  ·  3Comments

smallprogram picture smallprogram  ·  3Comments

lengyingzi picture lengyingzi  ·  5Comments

maoturing picture maoturing  ·  4Comments

rdhar picture rdhar  ·  4Comments