Make markdownToAdf(adfToMarkdown(doc)) deep-equal doc: textBreak, empty keys, -0, typed carry fences, code blocks of several text nodes
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
!adf:date{attrs=empty} !adf:date{content=empty}
|
||||
|
||||
a!adf:hardBreak{marks=empty}b
|
||||
|
||||
!adf:mention[@M]{content=empty id=x}
|
||||
|
||||
bare!adf:carry{json="{\"marks\":[],\"text\":\"marked\",\"type\":\"text\"}"}
|
||||
|
||||
!adf:carry{json="{\"marks\":[{\"attrs\":{},\"type\":\"em\"}],\"text\":\"x\",\"type\":\"text\"}"} and !adf:carry{json="{\"attrs\":{\"shortName\":\":a:\"},\"marks\":[{\"attrs\":{},\"type\":\"strong\"}],\"type\":\"emoji\"}"}
|
||||
Reference in New Issue
Block a user