Read the inline nodes and the marks back, and keep the whitespace CommonMark does not strip
CI / gate (push) Successful in 9s

This commit is contained in:
2026-09-01 21:35:52 +02:00
parent aed2f16664
commit 01faa71914
18 changed files with 246 additions and 47 deletions
+1 -1
View File
@@ -1 +1 @@
Part :mention[@Mikael]{id=b1c2}.
Part :mention[**@Mikael**]{id=b1c2}.
@@ -0,0 +1 @@
unsupported-node-shape
+1
View File
@@ -0,0 +1 @@
Part :em[emphasised] here.
+1
View File
@@ -0,0 +1 @@
unsupported-node-shape
+1
View File
@@ -0,0 +1 @@
Part :text{text=plain} here.
@@ -80,6 +80,15 @@
}
],
"type": "paragraph"
},
{
"content": [
{
"text": "\u000bEdged with the whitespace CommonMark keeps\f",
"type": "text"
}
],
"type": "paragraph"
}
],
"type": "doc",
@@ -11,3 +11,5 @@ Space after the break\
:text{text=" "}survives too.
Kept _:text{text=" "}inside:text{text=" "}_, exactly.
Edged with the whitespace CommonMark keeps