tpope / vim-markdown

Vim Markdown runtime files
1.22k stars 191 forks source link

Bold and italic within headings / Headings within bold and italic #196

Closed john-cj closed 2 years ago

john-cj commented 2 years ago

The first issue is that bold and italic words in headings are highlighted the same as in the normal text.

# this *is* a **heading**

# this _is_ a _heading_

image

This doesn't look good, but another problem is that if a whole heading is enclosed in asterisks/underscores, it is very hard to notice that such a heading is a heading at all:

# *this is heading*

# **this is heading**

# _this is heading_

# __this is heading__

image

Vim 9.0, color scheme Slate

tpope commented 2 years ago

I don't think this is fixable, but would be happy to be proven wrong.