mirror of
https://github.com/sharkdp/bat.git
synced 2025-09-04 20:32:27 +01:00
#1213 Added example Markdown file
This commit is contained in:
39
tests/syntax-tests/source/Markdown/example.md
Normal file
39
tests/syntax-tests/source/Markdown/example.md
Normal file
@@ -0,0 +1,39 @@
|
||||
# H1
|
||||
## H2
|
||||
### H3
|
||||
#### H4
|
||||
##### H5
|
||||
###### H6
|
||||
|
||||
**bold** *italic* ~~strike~~ [~~***link***~~](https://guides.github.com/features/mastering-markdown/)
|
||||
__bold__ _italic_
|
||||
|
||||
* Unordered
|
||||
* List
|
||||
* With Indents
|
||||
|
||||
1. Ordered
|
||||
2. List
|
||||
3. With Indents
|
||||
|
||||

|
||||
|
||||
> quotes
|
||||
> and more
|
||||
|
||||
`fn inline_code() -> String { "inline code".to_string() }`
|
||||
|
||||
```rust
|
||||
fn syntax_highlighted<T: AsRef<&str>>(thing: T) {
|
||||
println!("The best code has syntax highlighting: {}", thing);
|
||||
}
|
||||
```
|
||||
|
||||
- [x] Task
|
||||
- [] Unfinished Task
|
||||
- [] Another unfinished task
|
||||
|
||||
First Header | Second Header
|
||||
------------ | -------------
|
||||
Content from cell 1 | Content from cell 2
|
||||
Content in the first column | Content in the second column
|
Reference in New Issue
Block a user