mirror of
https://github.com/larvit/adf-codec.git
synced 2026-11-20 07:05:44 +01:00
Answer architecture round 1: name a non-string by typeof alone, name and comment what the seats could not read, file items 81 and 82
This commit is contained in:
+4
-2
@@ -65,8 +65,6 @@ Markdown the spelling table leaves alone, which `0.2.0` reads as a different doc
|
||||
`unspellable-character`, `unspellable-line-start` and `unspellable-link` leave `ConvertErrorCode`:
|
||||
a `switch` naming one stops compiling. A document `adfToMarkdown` refused with one of them now
|
||||
converts; markdown the parser refused with one of them now refuses with the code the table gives.
|
||||
`not-a-string` joins it: a `switch` naming every code needs its case. The markdown readers return
|
||||
it for a value that is not a string, which threw or read as an empty document before.
|
||||
|
||||
| Input | `0.1.0` | `0.2.0` |
|
||||
| --- | --- | --- |
|
||||
@@ -83,3 +81,7 @@ it for a value that is not a string, which threw or read as an empty document be
|
||||
| a node with a block body written as a leaf (`panel`) | `unsupported-node-shape` | `malformed-directive` |
|
||||
| an empty node the `::taskItem` spelling row names, written as a leaf | parses | `malformed-directive` |
|
||||
| an empty node the `::taskItem` spelling row names, written with a closer | `unsupported-node-shape` | parses |
|
||||
|
||||
`ConvertErrorCode` gains `not-a-string`: a `switch` naming every code needs its case. The markdown
|
||||
readers return it for a value that is not a string, which threw or read as an empty document
|
||||
before.
|
||||
|
||||
Reference in New Issue
Block a user