Implement prosemirror markdown renderer
Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
37
pkg/prosemirror/testdata/document.md
vendored
Normal file
37
pkg/prosemirror/testdata/document.md
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
# Heading 1
|
||||
|
||||
This is a paragraph **with some bold** and *some italic* and some <u>underlined text</u>.\
|
||||
It contains a line break, and some ~~strikethrough.~~\
|
||||
There's some `inline code`. And a [link](https://getprobo.com)
|
||||
|
||||
## Heading 2
|
||||
|
||||
A simple paragraph.
|
||||
|
||||
```
|
||||
code block
|
||||
```
|
||||
|
||||
### Heading 3
|
||||
|
||||
- ul **list** item 1
|
||||
- ul *list* item 2
|
||||
- ul [list](https://google.com) item 3
|
||||
|
||||
---
|
||||
|
||||
1. ol list <u>item</u> 1
|
||||
2. ol list `item` 2
|
||||
3. ol list ~~item~~ 3
|
||||
|
||||
---
|
||||
|
||||
> Blockquote\
|
||||
> Line **break**
|
||||
|
||||
---
|
||||
|
||||
| th 1 | th 2 | th 3 | th 4 |
|
||||
| --- | --- | --- | --- |
|
||||
| td *11* | td **12** | td ~~13~~ | <ul><li><p>1</p></li><li><p>2</p></li></ul> |
|
||||
| td <u>21</u> | td [22](https://example.org) | td `23` | <ol><li><p>A</p></li><li><p>B</p></li></ol> |
|
||||
Reference in New Issue
Block a user