-
Notifications
You must be signed in to change notification settings - Fork 158
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
# inside <Code> #284
Comments
Can you show me a sample that causes discount to fail? |
Hi. Sure :-)
is the code
|
Alas, that's the output that's supposed to happen according to standard (John Gruber's) markdown. If you put that code into the markdown dingus that's what you'll see. What's happening is the parser is breaking the code into two paragraphs:
and
and then it doesn't process either as paragraphs containing code sections. This is a behavior I cannot change while keeping discount markdown compatable, sorry :-( Have you considered using either fenced code (if you're calling discount as a library, set the MKD_FENCEDCODE flag, and if you're using the (fenced code):
(tab indentation -- the <tab> markings signify either 4 space indent or a tab character)
(a fast shortcut would be to merely escape the |
Hi.
I have this issue when convert to html
If i have a
block (bash) with comments (#EOF in my case)
It convert EOF to a title :)
The text was updated successfully, but these errors were encountered: