Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide/src/markup.rs')
| -rw-r--r-- | crates/ide/src/markup.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/ide/src/markup.rs b/crates/ide/src/markup.rs index 411eb695fb..4a4e29fa33 100644 --- a/crates/ide/src/markup.rs +++ b/crates/ide/src/markup.rs @@ -35,4 +35,7 @@ impl Markup { pub fn fenced_block(contents: impl fmt::Display) -> Markup { format!("```rust\n{contents}\n```").into() } + pub fn fenced_block_text(contents: impl fmt::Display) -> Markup { + format!("```text\n{contents}\n```").into() + } } |