johannhof / markdown.rs

Rust Markdown parsing library
Apache License 2.0
136 stars 44 forks source link

Question about code spans #24

Closed Lythenas closed 4 years ago

Lythenas commented 7 years ago

The markdown syntax I'm used to (and the one used by github) allows multi line code blocks with the tripple tick syntax. So something like this:

```
fn main() {
    println!("Codeblock");
}
```

Usually you can also specify the language after the three ticks.

I only found tests for codeblocks using indentation. Tripple tick code blocks would be nice to have.