3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-21 15:42:58 +01:00

Model CommonMark's emphasis matching, and escape the delimiter that only closes

This commit is contained in:
2026-08-27 12:42:46 +02:00
parent e5c0c13633
commit 5063ad5fc2
17 changed files with 899 additions and 45 deletions
@@ -0,0 +1,56 @@
{
"content": [
{
"content": [
{
"text": "un",
"type": "text"
},
{
"marks": [
{
"type": "em"
}
],
"text": "a* b",
"type": "text"
},
{
"text": "istic",
"type": "text"
}
],
"type": "paragraph"
},
{
"content": [
{
"marks": [
{
"type": "strike"
}
],
"text": "a~~ b",
"type": "text"
}
],
"type": "paragraph"
},
{
"content": [
{
"marks": [
{
"type": "em"
}
],
"text": "a_ b",
"type": "text"
}
],
"type": "paragraph"
}
],
"type": "doc",
"version": 1
}