use single-line codeblock for specific features lists
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
e6884ef13a
commit
95121b6e05
1 changed files with 2 additions and 2 deletions
|
@ -35,13 +35,13 @@ pub(super) async fn list_features(
|
|||
};
|
||||
if enabled && !available {
|
||||
let features = info::rustc::features().join(delim);
|
||||
let out = format!("```\n{features}\n```");
|
||||
let out = format!("`\n{features}\n`");
|
||||
return Ok(RoomMessageEventContent::text_markdown(out));
|
||||
}
|
||||
|
||||
if available && !enabled {
|
||||
let features = info::cargo::features().join(delim);
|
||||
let out = format!("```\n{features}\n```");
|
||||
let out = format!("`\n{features}\n`");
|
||||
return Ok(RoomMessageEventContent::text_markdown(out));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue