Fenced code blocks in argument documentation #3122
Labels
A-derive
Area: #[derive]` macro API
C-enhancement
Category: Raise on the bar on expectations
S-duplicate
Status: Closed as Duplicate
Issue by jonhoo
Saturday Mar 02, 2019 at 20:54 GMT
Originally opened as TeXitoi/structopt#166
I have an option that I want to include some example code for (TOML specifically), but it seems like
structopt
(or maybe clap?) eliminates all of the newlines for it. Could we maybe detect fenced code blocks and change the newline handling rules for that segment of the help text?The text was updated successfully, but these errors were encountered: