mirror of https://github.com/Textualize/rich.git
61 lines
579 B
Python
61 lines
579 B
Python
|
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
|
||
|
|
||
|
|
||
|
```
|
||
|
a=1
|
||
|
```
|
||
|
|
||
|
```python
|
||
|
import this
|
||
|
```
|
||
|
|
||
|
```somelang
|
||
|
foobar
|
||
|
```
|
||
|
|
||
|
"""
|