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

Carry the fence depth through blockquotes and lists, and split the block spelling from it

This commit is contained in:
2026-08-25 15:33:24 +02:00
parent 9c1fb215c4
commit ac507b8782
11 changed files with 243 additions and 79 deletions
@@ -0,0 +1,77 @@
{
"content": [
{
"attrs": {
"panelType": "info"
},
"content": [
{
"content": [
{
"content": [
{
"attrs": {
"panelType": "warning"
},
"content": [
{
"content": [
{
"text": "Check the torque before signing off.",
"type": "text"
}
],
"type": "paragraph"
}
],
"type": "panel"
}
],
"type": "listItem"
},
{
"content": [
{
"content": [
{
"text": "Plain item.",
"type": "text"
}
],
"type": "paragraph"
}
],
"type": "listItem"
}
],
"type": "bulletList"
},
{
"content": [
{
"attrs": {
"title": "Full build log"
},
"content": [
{
"content": [
{
"text": "The build ran for 11 minutes.",
"type": "text"
}
],
"type": "paragraph"
}
],
"type": "expand"
}
],
"type": "blockquote"
}
],
"type": "panel"
}
],
"type": "doc",
"version": 1
}
@@ -0,0 +1,10 @@
::::panel info
- :::panel warning
Check the torque before signing off.
:::
- Plain item.
> :::expand {title="Full build log"}
> The build ran for 11 minutes.
> :::
::::