tests/testsuite/markdown/basic_markdown/src/code-blocks.md
raw| 1 | # Code blocks |
| 2 | |
| 3 | ``` |
| 4 | This is a codeblock |
| 5 | ``` |
| 6 | |
| 7 | ```rust |
| 8 | // This links to a playpen |
| 9 | ``` |
| 10 | |
| 11 | ```bash,editable |
| 12 | # This is an editable codeblock |
| 13 | ``` |
| 14 | |
| 15 | ```text cls1,,cls2 cls3 |
| 16 | Text with different classes. |
| 17 | ``` |
| 18 | |
| 19 | Indented |
| 20 | code |
| 21 | block. |
| 22 | |
| 23 | ```rust,edition2021 |
| 24 | let x = 1; |
| 25 | ``` |
| 26 | |
| 27 | ```rust |
| 28 | fn main() { |
| 29 | println!("hello"); |
| 30 | } |
| 31 | ``` |