Read the inline text, and decode the escapes and references CommonMark spells
CI / gate (push) Successful in 5s

This commit is contained in:
2026-08-30 21:42:02 +02:00
parent ddc55bc7c8
commit 3ff1278b71
20 changed files with 593 additions and 61 deletions
+1
View File
@@ -0,0 +1 @@
unmappable-html
+1
View File
@@ -0,0 +1 @@
A paragraph carrying a raw <span class="draft">tag</span> in its text.
@@ -0,0 +1,37 @@
{
"content": [
{
"content": [
{
"text": "© 2026 — the № you asked for, & nothing else.",
"type": "text"
}
],
"type": "paragraph"
},
{
"content": [
{
"text": "Escaped, the reference stays literal: &copy; and ",
"type": "text"
},
{
"marks": [
{
"type": "code"
}
],
"text": "&copy;",
"type": "text"
},
{
"text": " alike.",
"type": "text"
}
],
"type": "paragraph"
}
],
"type": "doc",
"version": 1
}
@@ -0,0 +1,3 @@
&copy; 2026 &mdash; the &#x2116; you asked for, &amp; nothing else.
Escaped, the reference stays literal: \&copy; and `&copy;` alike.
+22
View File
@@ -0,0 +1,22 @@
{
"content": [
{
"content": [
{
"text": "A paragraph the author soft-wrapped across three lines, holding a hard break",
"type": "text"
},
{
"type": "hardBreak"
},
{
"text": "the backslash spells.",
"type": "text"
}
],
"type": "paragraph"
}
],
"type": "doc",
"version": 1
}
+3
View File
@@ -0,0 +1,3 @@
A paragraph the author soft-wrapped
across three lines, holding a hard break\
the backslash spells.