Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interword emphasis syntax highlighting broken for many markdown implementations #3750

Closed
gausie opened this issue Aug 15, 2018 · 1 comment
Closed

Comments

@gausie
Copy link

gausie commented Aug 15, 2018

According to the commonmark spec:

Many implementations have also restricted intraword emphasis to the * forms, to avoid unwanted emphasis in words containing internal underscores. (It is best practice to put these in code spans, but users often do not.)

internal emphasis: foo*bar*baz
no emphasis: foo_bar_baz

However, the markdown highlighting mode does treat the second example as emphasised. In fact, in Github I have to escape the first example precisely due to this very common implementation detail.

@github-actions
Copy link

github-actions bot commented May 9, 2022

This issue has not received any attention in 1 year. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
markdown
  
ToDo
Development

No branches or pull requests

1 participant