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

Unexpected parsing with single characters such as * #94

Open
benskz opened this issue Jan 11, 2021 · 1 comment
Open

Unexpected parsing with single characters such as * #94

benskz opened this issue Jan 11, 2021 · 1 comment

Comments

@benskz
Copy link

benskz commented Jan 11, 2021

I'm trying to use an asterisk in my string but it makes everything after is Italic. I believe this behaviour is unexpectes.

Input:

This string has something *important, so I use an asterisk.

Expected:
This string has something *important, so I use an asterisk.

Actual:
This string has something *important, so I use an asterisk.

If this behaviour is expected I then one should resort to escaping the said character, however this also produces an undesirable result.

Input:

This string has something \*important, so I use an asterisk.

Expected:
This string has something *important, so I use an asterisk.

Actual:
This string has something \*important, so I use an asterisk.

@axelpale
Copy link

axelpale commented Feb 3, 2021

This is f*king important issue ;) In our case, users might not even realise they are writing markdown. Therefore it is common to see a single asterisk to be used for something else than emphasis, for example ad hoc foot notes, curse words or wild card characters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants