-
Notifications
You must be signed in to change notification settings - Fork 450
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
Live preview vs. actual markdown formatting mismatch #1065
Comments
A small addendum, the underscore "hi there" example is still rendered italic in the live preview, even though it shouldn't. |
Live preview implemented by libcmark_gfm and should be addressed to https://github.com/github/cmark-gfm |
Isnt cmark just the normal preview? I speak of the live preview you see before hitting the preview button. E.g., you fixed it for the "with" in the example above, but the "hi there" is on the same page but not fixed. |
Escaping by slash is in markdown spec? |
at least in the cmark specs, yes. And github supports it, eg.: _here_ (<-- |
Fixed! |
Describe the bug
Styling (like underscores) inside code environment is applied to text outside of the environment.
To Reproduce
Expected behavior
The code environment should ignore all markdown commands until the environment is closed.
Actual behavior
See image. The with in between shouldn't be italic in the live preview.
Workaround
None. ... Actually thats funny and leads me to another bug:
\_hi there\_
should escapte the underscore and print the text without italics, however the live preview still shows formatting (see screen2)Supporting Files
Desktop (please complete the following information):
Additional context
NA
The text was updated successfully, but these errors were encountered: