mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-04 03:17:45 +03:00
Making the 'set-option' command help more descriptive. (#2365)
* Making the 'set-option' command help more descriptive. * Adding the generated docs * Making the message multi-line * Replace newline with break in generated docs
This commit is contained in:
parent
f59b3b91c8
commit
09a17e4fa3
3 changed files with 5 additions and 3 deletions
|
@ -106,7 +106,9 @@ pub mod md_gen {
|
|||
.collect::<Vec<_>>()
|
||||
.join(", ");
|
||||
|
||||
md.push_str(&md_table_row(&[names.to_owned(), cmd.doc.to_owned()]));
|
||||
let doc = cmd.doc.replace("\n", "<br>");
|
||||
|
||||
md.push_str(&md_table_row(&[names.to_owned(), doc.to_owned()]));
|
||||
}
|
||||
|
||||
Ok(md)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue