-
Notifications
You must be signed in to change notification settings - Fork 16
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 code block syntax doesn't convert to roff's .EX/.EE syntax #56
Comments
This sure looks like a bug in Ronn-NG, and I think it might be caused by our current issue with "fenced code block" support, which is addressed by #53. Looking at the output you've posted here, it looks like Markdown fenced code blocks (which are technically an extension, not in the base Markdown syntax) are not being translated to HTML, so the HTML-to- Once I get the tests cleaned up on that PR #53 (hopefully within the week), I'll see if that fixes this problem, too. Thanks for the bug report! |
Fenced code blocks are defined in CommonMark Spec, AFAIK. |
I (and many others) consider CommonMark itself to be an extension or variant, despite the name "Common" and their original intended use of the term "standard". IMHO, vanilla Markdown is Gruber's original spec. CommonMark aspires to be a "standard", but it ain't there yet, IMHO, and GitHub Flavored Markdown is currently a lot closer to that goal. If there's interest among Ronn-NG's users, and an easy way of implementing it here, I'd be happy to add support for CommonMark as an optional dialect supported by Ronn-NG. |
This PR fixed the basic problem with the "```" fenced code blocks not being interpreted: #53. But it's still not using I think you're right that This is going to take a little more research and engineering to fix. I'm still slating it for 0.10.0, and should have some time to work on it over this weekend. |
Okay, this is gonna take some nontrivial reworking of the processing code. I'm bumping this out to the 0.11.0 release so we can get 0.10.0 out the door with some bugfixes users are asking for. ETA on this is likely a few weeks off; sorry. |
Look at
man 3 printf
To markup example code, they use roff's
.EX
/.EE
syntaxNow I tried to convert
https://github.com/MicrosoftDocs/cpp-docs/blob/master/docs/c-runtime-library/reference/rand.md
However, ronn-ng didn't use this syntax.
The text was updated successfully, but these errors were encountered: