Auto create table of contents in preview when get [TOC]
Thanks for the feedback.
Currently, for compatibility reason, we are not going to support it. But I will leave this open to collect more feedback.
Just to add a slightly different variant on the request - I'd be very interested in support for [[_TOC_]] as it's in many Gitlab projects I work in. https://docs.gitlab.com/ee/user/markdown.html#table-of-contents
This might be part of the Gitlab Flavored Markdown(GLF) spec, but I'm not sure.
https://docs.gitlab.com/ee/user/markdown.html#gitlab-flavored-markdown-gfm
Ah, my mistake. My request was to have the TOC syntax cause a full table of contents to be displayed in the markdown preview, but this project doesn't have a preview command. Looks like markdown-preview-enhanced does this for [TOC], but I'll have to see if there are any VSCode extensions that support the Gitlab syntax.
Please see FAQ for more information.
Thanks! In case it's helpful to others, here's the one that did what I was describing above. https://marketplace.visualstudio.com/items?itemName=wibblemonkey.markdown-auto-toc
Most helpful comment
Thanks for the feedback.
Currently, for compatibility reason, we are not going to support it. But I will leave this open to collect more feedback.