-
Notifications
You must be signed in to change notification settings - Fork 25
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
Comonicon garbles long docstrings #212
Comments
See my comment in #213, and yes, the main reason is I was being lazy when wrote the markdown transforms and just turn it into a |
actually I'm curious where did you see the |
Besides passing the markdown which I don't think is necessary right now (given the stdlib Markdown does not support indented output), you can define short description as the first paragraph and long description using the The only thing I think need to be done is consider passing other markdown sections to help page in some format. |
close in dup of #9 |
I think the example below more than illustrates the issue.
Produces
I see this is due to:
Comonicon.jl/src/ast/utils.jl
Lines 32 to 63 in ebb1833
Which simply doesn't allow for meaningful newlines.
IMO the root issue here is Comonicon turning the
Markdown.MD
docstring into aString
too early and thus loosing the ability to treat different syntactic forms differently.I was hoping that this would just take a small tweak to the codebase, but having looked a bit more I must say I think the approach to docstrings could do with a minor overhaul. That's a larger topic though, and so I'll make a separate issue for that.
Comonicon 0.12.17/master
The text was updated successfully, but these errors were encountered: