tpope / vim-markdown

Vim Markdown runtime files
1.22k stars 191 forks source link

Conceal Headings (h1 to h6) #180

Closed Bowuigi closed 2 years ago

Bowuigi commented 3 years ago

Is it possible to conceal the headings? Even if it only works on a single line.

If it is possible, how?

jcla1 commented 2 years ago

Not at the moment, at least not easily. You can achieve the effect by adding these lines to your vimrc and appending concealends (or conceal if you'd like the complete heading to be invisible for whatever reason) to each of them.

Bowuigi commented 2 years ago

Thank you! Should I close the issue?

jcla1 commented 2 years ago

(I would, as I wouldn't consider even the option of concealing the heading delimiters a fit feature for vim-markdown, as otherwise you'd hardly be able to distinguish between different heading levels.)

Bowuigi commented 2 years ago

Got it, thank you!