-
Notifications
You must be signed in to change notification settings - Fork 3
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
Support for blockquotes #2
Comments
I have taken a look at the syntax of ocamldoc comments (odoc and ocamldoc share the same syntax) and there does not seem to be any way to quote a text. In the code of odoc, one can see a suggestion to use "raw HTML" as follows:
However, this does not seem so satisfying as it will only work with HTML and there is then no way to use the other markups from ocamldoc's syntax. |
Yes, I think I had thought about it at the time and could not find a satisfactory solution. Lines 90 to 93 in 97ae31f
Where |
We could replace my handcrafted |
The interface of odoc has already changed since 2.0.0~alpha1, this is based on @jfrolich PR ocaml/omd#215 and is intended as an intermediate step to ease the port to the next release of omd. Issue #5 will not be closed for the time being. In particular there is a regression in the way we deal with blockquotes. These need to be addressed anyway, see #2. Signed-off-by: Marcello Seri <[email protected]>
The interface of omd has already changed since 2.0.0~alpha1, this is based on @jfrolich PR ocaml/omd#215 and is intended as an intermediate step to ease the port to the next release of omd. Issue #5 will not be closed for the time being. In particular there is a regression in the way we deal with blockquotes. These need to be addressed anyway, see #2. Signed-off-by: Marcello Seri <[email protected]>
I am generating the html form for now. It would not be hard to pass a context to choose between latex-ready or html-ready output though |
Hey there,
Thank you very much for this tool; very handy!
Would it be possible to add support for Markdown's blockquotes? Currently, I think
md2mld
doesn't do much with them, which leads to remaining>
characters in the output HTML file (as processed with odoc). I am not sure if there is such a thing as blockquotes in MLD files, but then maybe at least remove the>
files?I don't have the time right now but I could try working on a PR adding this in a few months, if you wanted.
Example blockquotes:
which shows as follows, on GitHub:
Here comes a quote:
Here comes another quote with a nested quote:
Bye!
The text was updated successfully, but these errors were encountered: