mirror of
https://github.com/larvit/adf-codec.git
synced 2026-11-19 22:55:44 +01:00
Write a block's localId as an !adf:{…} marker beside its CommonMark spelling
This commit is contained in:
@@ -0,0 +1,153 @@
|
||||
{
|
||||
"content": [
|
||||
{
|
||||
"attrs": {
|
||||
"level": 2,
|
||||
"localId": "01a0431d-2014-737c-a1bf-f9daedab6de3"
|
||||
},
|
||||
"content": [
|
||||
{
|
||||
"text": "Release checklist",
|
||||
"type": "text"
|
||||
}
|
||||
],
|
||||
"type": "heading"
|
||||
},
|
||||
{
|
||||
"content": [
|
||||
{
|
||||
"text": "Centred.",
|
||||
"type": "text"
|
||||
}
|
||||
],
|
||||
"marks": [
|
||||
{
|
||||
"attrs": {
|
||||
"align": "center"
|
||||
},
|
||||
"type": "alignment"
|
||||
}
|
||||
],
|
||||
"type": "paragraph"
|
||||
},
|
||||
{
|
||||
"attrs": {
|
||||
"localId": "01a0431d-2015-737f-afad-33064295ad4f"
|
||||
},
|
||||
"content": [
|
||||
{
|
||||
"attrs": {
|
||||
"localId": "01a0431d-2016-7abb-823f-c0942934c878"
|
||||
},
|
||||
"content": [
|
||||
{
|
||||
"content": [
|
||||
{
|
||||
"text": "Tag the commit",
|
||||
"type": "text"
|
||||
}
|
||||
],
|
||||
"type": "paragraph"
|
||||
}
|
||||
],
|
||||
"type": "listItem"
|
||||
},
|
||||
{
|
||||
"content": [
|
||||
{
|
||||
"content": [
|
||||
{
|
||||
"text": "Push the tag",
|
||||
"type": "text"
|
||||
}
|
||||
],
|
||||
"type": "paragraph"
|
||||
}
|
||||
],
|
||||
"type": "listItem"
|
||||
}
|
||||
],
|
||||
"type": "bulletList"
|
||||
},
|
||||
{
|
||||
"content": [
|
||||
{
|
||||
"content": [
|
||||
{
|
||||
"content": [
|
||||
{
|
||||
"text": "Loosen the clamp",
|
||||
"type": "text"
|
||||
}
|
||||
],
|
||||
"type": "paragraph"
|
||||
}
|
||||
],
|
||||
"type": "listItem"
|
||||
}
|
||||
],
|
||||
"type": "orderedList"
|
||||
},
|
||||
{
|
||||
"content": [
|
||||
{
|
||||
"attrs": {
|
||||
"localId": "01a0431d-2017-72cf-baf3-8934a54e0582"
|
||||
},
|
||||
"content": [
|
||||
{
|
||||
"text": "Hold the line.",
|
||||
"type": "text"
|
||||
}
|
||||
],
|
||||
"type": "paragraph"
|
||||
}
|
||||
],
|
||||
"type": "blockquote"
|
||||
},
|
||||
{
|
||||
"content": [
|
||||
{
|
||||
"content": [
|
||||
{
|
||||
"attrs": {
|
||||
"localId": "01a0431d-2018-7667-a769-ab0037ca80aa"
|
||||
},
|
||||
"content": [
|
||||
{
|
||||
"text": "Indented.",
|
||||
"type": "text"
|
||||
}
|
||||
],
|
||||
"type": "paragraph"
|
||||
}
|
||||
],
|
||||
"type": "listItem"
|
||||
}
|
||||
],
|
||||
"type": "bulletList"
|
||||
},
|
||||
{
|
||||
"attrs": {
|
||||
"localId": "01a0431d-2019-76b7-bf6f-13841363b111"
|
||||
},
|
||||
"type": "rule"
|
||||
},
|
||||
{
|
||||
"attrs": {
|
||||
"color": "#ff5630",
|
||||
"style": "dashed",
|
||||
"weight": 2
|
||||
},
|
||||
"type": "rule"
|
||||
},
|
||||
{
|
||||
"attrs": {
|
||||
"localId": "01a0431d-201a-7a65-bea7-84b441c85bd6"
|
||||
},
|
||||
"type": "paragraph"
|
||||
}
|
||||
],
|
||||
"type": "doc",
|
||||
"version": 1
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
!adf:heading {level=2 localId=01a0431d-2014-737c-a1bf-f9daedab6de3}
|
||||
Release checklist
|
||||
!adf:/heading
|
||||
|
||||
!adf:paragraph {marks="alignment{align=center}"}
|
||||
Centred.
|
||||
!adf:/paragraph
|
||||
|
||||
!adf:bulletList {localId=01a0431d-2015-737f-afad-33064295ad4f}
|
||||
!adf:listItem {localId=01a0431d-2016-7abb-823f-c0942934c878}
|
||||
Tag the commit
|
||||
!adf:/listItem
|
||||
!adf:listItem
|
||||
Push the tag
|
||||
!adf:/listItem
|
||||
!adf:/bulletList
|
||||
|
||||
!adf:orderedList
|
||||
!adf:listItem
|
||||
Loosen the clamp
|
||||
!adf:/listItem
|
||||
!adf:/orderedList
|
||||
|
||||
> !adf:paragraph {localId=01a0431d-2017-72cf-baf3-8934a54e0582}
|
||||
> Hold the line.
|
||||
> !adf:/paragraph
|
||||
|
||||
- !adf:paragraph {localId=01a0431d-2018-7667-a769-ab0037ca80aa}
|
||||
Indented.
|
||||
!adf:/paragraph
|
||||
|
||||
!adf:rule {localId=01a0431d-2019-76b7-bf6f-13841363b111}
|
||||
|
||||
!adf:rule {color="#ff5630" style=dashed weight=2}
|
||||
|
||||
!adf:paragraph {localId=01a0431d-201a-7a65-bea7-84b441c85bd6}
|
||||
!adf:/paragraph
|
||||
@@ -1,3 +1,2 @@
|
||||
!adf:paragraph {localId=01a03d5c-9b21-73f4-8e6a-0c47b1d9e2f8}
|
||||
!adf:{localId=01a03d5c-9b21-73f4-8e6a-0c47b1d9e2f8}
|
||||
Every block node in the schema carries one.
|
||||
!adf:/paragraph
|
||||
|
||||
@@ -1,19 +1,12 @@
|
||||
!adf:heading {level=2 localId=01a0431d-2014-737c-a1bf-f9daedab6de3}
|
||||
Release checklist
|
||||
!adf:/heading
|
||||
## Release checklist !adf:{localId=01a0431d-2014-737c-a1bf-f9daedab6de3}
|
||||
|
||||
!adf:paragraph {marks="alignment{align=center}"}
|
||||
Centred.
|
||||
!adf:/paragraph
|
||||
|
||||
!adf:bulletList {localId=01a0431d-2015-737f-afad-33064295ad4f}
|
||||
!adf:listItem {localId=01a0431d-2016-7abb-823f-c0942934c878}
|
||||
Tag the commit
|
||||
!adf:/listItem
|
||||
!adf:listItem
|
||||
Push the tag
|
||||
!adf:/listItem
|
||||
!adf:/bulletList
|
||||
!adf:{localId=01a0431d-2015-737f-afad-33064295ad4f}
|
||||
- !adf:{localId=01a0431d-2016-7abb-823f-c0942934c878} Tag the commit
|
||||
- Push the tag
|
||||
|
||||
!adf:orderedList
|
||||
!adf:listItem
|
||||
@@ -21,15 +14,13 @@ Loosen the clamp
|
||||
!adf:/listItem
|
||||
!adf:/orderedList
|
||||
|
||||
> !adf:paragraph {localId=01a0431d-2017-72cf-baf3-8934a54e0582}
|
||||
> Hold the line.
|
||||
> !adf:/paragraph
|
||||
> Hold the line. !adf:{localId=01a0431d-2017-72cf-baf3-8934a54e0582}
|
||||
|
||||
- !adf:paragraph {localId=01a0431d-2018-7667-a769-ab0037ca80aa}
|
||||
Indented.
|
||||
!adf:/paragraph
|
||||
- Indented. !adf:{localId=01a0431d-2018-7667-a769-ab0037ca80aa}
|
||||
|
||||
!adf:rule {localId=01a0431d-2019-76b7-bf6f-13841363b111}
|
||||
!adf:{localId=01a0431d-2019-76b7-bf6f-13841363b111}
|
||||
|
||||
---
|
||||
|
||||
!adf:rule {color="#ff5630" style=dashed weight=2}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user