-
Notifications
You must be signed in to change notification settings - Fork 711
Make every cabal-install subcommand help message valid markdown #2867
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
Comments
I'm trying to come up with the minimal markdown syntax that still renders a manpage and HTML nicely without adding too much syntax ornamentation to the plain console help messages. In the end, it all boils down to rendering list items properly. This is what I came up after some fiddling: https://gist.github.com/jdnavarro/23a338d7ee6ab20e7840 GitHub markdown doesn't support definition lists, but Pandoc does, so this looks nice when rendered to HTML or man format. However, I'm still not satisfied reading the raw markdown; this is a (small) step backwards compared to the original console messages, so I'm considering 2 possibilities:
I'm trying option Other remarks:
|
Option There is a |
For properly formatting the flag descriptions as markdown This issue is definitely becoming much more work than I anticipated, so I'm taking care first of what we left half-baked with @luigibozzo and @kosmikus at the Hackathon before getting back again to this issue. |
This commit will be most surely dropped in the future.
No longer needed after #2877 |
This was originally needed in #848, but I'm opening a new ticket to make the original task more granular. Feel free to assign this to me.
The text was updated successfully, but these errors were encountered: