3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-20 07:05:44 +01:00

4.3: a paragraph line reading as a link reference definition escapes its opening bracket

This commit is contained in:
2026-09-15 20:45:07 +02:00
parent c8ce81adf4
commit fca1b68b74
6 changed files with 95 additions and 6 deletions
@@ -0,0 +1,76 @@
{
"content": [
{
"content": [
{
"text": "[",
"type": "text"
},
{
"attrs": {
"timestamp": "]:a"
},
"type": "date"
}
],
"type": "paragraph"
},
{
"content": [
{
"content": [
{
"text": "[",
"type": "text"
},
{
"marks": [
{
"type": "code"
}
],
"text": "]: a",
"type": "text"
}
],
"type": "paragraph"
}
],
"type": "blockquote"
},
{
"content": [
{
"content": [
{
"content": [
{
"text": "[",
"type": "text"
},
{
"attrs": {
"timestamp": "]:a"
},
"type": "date"
},
{
"type": "hardBreak"
},
{
"text": "b",
"type": "text"
}
],
"type": "paragraph"
}
],
"type": "listItem"
}
],
"type": "bulletList"
}
],
"type": "doc",
"version": 1
}
@@ -0,0 +1,6 @@
\[:date{timestamp="]:a"}
> \[`]: a`
- \[:date{timestamp="]:a"}\
b