rich/tests/_markdown.py

63 lines
658 B
Python
Raw Normal View History

2020-04-28 13:38:35 +00:00
MARKDOWN = """Heading
=======
Sub-heading
-----------
### Heading
#### H4 Heading
##### H5 Heading
###### H6 Heading
Paragraphs are separated
by a blank line.
Two spaces at the end of a line
produces a line break.
Text attributes _italic_,
**bold**, `monospace`.
Horizontal rule:
---
Bullet list:
* apples
* oranges
* pears
Numbered list:
1. lather
2. rinse
3. repeat
An [example](http://example.com).
> Markdown uses email-style > characters for blockquoting.
>
> Lorem ipsum
2020-05-08 12:36:12 +00:00
![progress](https://github.com/willmcgugan/rich/raw/master/imgs/progress.gif)
2020-04-28 13:38:35 +00:00
```
a=1
```
```python
import this
```
```somelang
foobar
```
"""