mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 22:31:43 +00:00
Inspect markdown code fences to determine whether to apply syntax highlighting
This commit is contained in:
parent
5d7974e5fb
commit
8ff91cf6b6
3 changed files with 22 additions and 4 deletions
|
@ -329,9 +329,13 @@ impl Foo {
|
|||
///
|
||||
/// ```
|
||||
///
|
||||
/// ```
|
||||
/// ```rust,no_run
|
||||
/// let foobar = Foo::new().bar();
|
||||
/// ```
|
||||
///
|
||||
/// ```sh
|
||||
/// echo 1
|
||||
/// ```
|
||||
pub fn foo(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue