3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-20 23:25:43 +01:00

Give the CommonMark blocks a directive form for what their spelling cannot hold

This commit is contained in:
2026-08-27 14:12:55 +02:00
parent c852f91032
commit 97d34e3118
30 changed files with 639 additions and 210 deletions
-5
View File
@@ -1,19 +1,14 @@
export type ConvertErrorCode =
| 'ambiguous-attribute-spelling'
| 'not-an-adf-document'
| 'unspellable-adjacent-lists'
| 'unspellable-character'
| 'unspellable-code-block-language'
| 'unspellable-line-start'
| 'unspellable-link-destination'
| 'unspellable-link-title'
| 'unspellable-list-marker'
| 'unspellable-whitespace'
| 'unspelled-block-marks'
| 'unspelled-block-separation'
| 'unspelled-node-attribute'
| 'unsupported-document-version'
| 'unsupported-heading-level'
| 'unsupported-node-shape'
export type ConvertErrorPath = readonly (number | string)[]