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

Markdown Syntax: Italics inconsistencies for intra word underlines #4358

Closed
RickStrahl opened this issue Aug 12, 2020 · 1 comment
Closed

Comments

@RickStrahl
Copy link
Contributor

RickStrahl commented Aug 12, 2020

Looks like there's a slight issue with italic text in Markdown mode if there are underscores inside of words.

Try the following in Ace:

_Syntax_highlighting_and_rendering_not_consistent_for_intra_words_underscores_

Syntax_highlighting_and_rendering_not_consistent_for_intra_words_underscores_

image

The underscores are being applied outside of word boundaries, and should only be applied to word boundaries.

A workaround is to escape the underscore based string in a inline code block:

This is a constant `Syntax_highlighting_Error` and it renders properly.

which is what I would do, but several users of our tools actually flagged this issue at various times so apparently there is a use case for the funky syntax used. 😄 Linking the original reference in Markdown Monster that triggered this.

@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
None yet
Development

No branches or pull requests

1 participant