-
Notifications
You must be signed in to change notification settings - Fork 96
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
Cant escape characters #245
Comments
The commonmark spec does suggest that it should be possible in example 14 https://spec.commonmark.org/0.30/#backslash-escapes I guess it's just a niche situation that the library you use doesnt account for. |
I did a dig into it and it does seem to be a quirk of the Mistune markdown parser. There is an option to escape all (which would break a few too many things) but no specific break character. One thing I've noticed is that if there is a space present then it renders fine (with the space though): This also only happens if there are opening and closing braces, so something like I'll give this some thought, but it seems like a minor issue in the grander scheme of things and easy to work around. Thanks for pointing this out @Deijin27! |
I ran into the issue using an app called markdownr to convert html to markdown for offline viewing, and tried to create a page on bearblog to test more, and found bear had issues too but the opposite direction 😄
It would be easy enough to put them in inline code blocks, so it's very minor issue easy to workaround I agree. |
😄 Yeah. Unfortunately we can't have one without the other. Either HTML is supported or not. The alternative being to include an explicit attribute of something like render_as: text/markdown/html which seems like overkill to me. I appreciate having these cases pointed out, though. |
I was trying to type a less-than sign into a post, escaping it with a backslash, but it is not visible in the published page. It works when not followed by a letter immediately.
Is it possible to support this?
The text was updated successfully, but these errors were encountered: