-
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
Generate opam file, dune.3, omd.2.0.0~alpha3, emit tables! #15
Conversation
Emit tables using the odoc-parser "heavy" syntax (slightly easier than the light syntax, similar to GitHub Flavored Markdown). Syntax for alignment isn't yet defined.
Thanks a lot! |
You could emit the "light" syntax instead which preserves alignment, but the code would be a tad more complex.
|
I don't mind either way. I think we can stick with this for the moment, and revise it once the syntax for alignment is finalized and released. What do you think? |
@@ -41,3 +41,4 @@ another code block? | |||
{!module:Module} <-- An explicit cross reference | |||
|
|||
{!Module} <-- An inferred cross reference | |||
{table {tr {th foo}{th bar}{th tut}}{tr {td {e baz}}{td bim}{td [who]}}{tr {td per}{td {b lol}}{td dit}}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we enforce that the table is isolated from the surrounding content by empty lines?
I will make a release once tables are supported by odoc as well |
CHANGES: - Add option to dump OMD ast as sexp for debugging ([mseri/md2mld#20](mseri/md2mld#20) MisterDA) - Support code block language tags ([mseri/md2mld#19](mseri/md2mld#19) MisterDA) - Add support for odoc heavy table syntax ([mseri/md2mld#15](mseri/md2mld#15) MisterDA)
CHANGES: - Add option to dump OMD ast as sexp for debugging ([mseri/md2mld#20](mseri/md2mld#20) MisterDA) - Support code block language tags ([mseri/md2mld#19](mseri/md2mld#19) MisterDA) - Add support for odoc heavy table syntax ([mseri/md2mld#15](mseri/md2mld#15) MisterDA)
CHANGES: - Add option to dump OMD ast as sexp for debugging ([mseri/md2mld#20](mseri/md2mld#20) MisterDA) - Support code block language tags ([mseri/md2mld#19](mseri/md2mld#19) MisterDA) - Add support for odoc heavy table syntax ([mseri/md2mld#15](mseri/md2mld#15) MisterDA)
CHANGES: - Add option to dump OMD ast as sexp for debugging ([mseri/md2mld#20](mseri/md2mld#20) MisterDA) - Support code block language tags ([mseri/md2mld#19](mseri/md2mld#19) MisterDA) - Add support for odoc heavy table syntax ([mseri/md2mld#15](mseri/md2mld#15) MisterDA)
Emit tables using the odoc-parser "heavy" syntax (slightly easier than
the light syntax, similar to GitHub Flavored Markdown). Syntax for
alignment isn't yet defined.
ocaml-doc/odoc-parser#11