36 - review: CHANGELOG flags the breaking readings and codes, README links it
This commit is contained in:
+10
-7
@@ -4,21 +4,24 @@
|
|||||||
|
|
||||||
- **Breaking:** directives, the opaque carry among them (now `carry`), are spelled under an `!adf:`
|
- **Breaking:** directives, the opaque carry among them (now `carry`), are spelled under an `!adf:`
|
||||||
prefix (`!adf:name … !adf:/name`, `!adf:name[content]{attrs}`, `!adf:name arg {attrs}`) in place
|
prefix (`!adf:name … !adf:/name`, `!adf:name[content]{attrs}`, `!adf:name arg {attrs}`) in place
|
||||||
of the `:::`/`::`/`:name` forms; convert stored markdown per `MIGRATION.md`.
|
of the `:::`/`::`/`:name` forms: text holding an unescaped `!adf:` is claimed, and `adf` is an
|
||||||
|
ordinary code block language. Convert stored markdown per `MIGRATION.md`.
|
||||||
- **Breaking:** `unspellable-link` leaves `ConvertErrorCode`; a link whose `href` or `title` no
|
- **Breaking:** `unspellable-link` leaves `ConvertErrorCode`; a link whose `href` or `title` no
|
||||||
CommonMark escape spells is written as `!adf:link[text]{attrs}`.
|
CommonMark escape spells is written as `!adf:link[text]{attrs}`.
|
||||||
|
- **Breaking:** some directive refusals carry `malformed-directive` where they carried
|
||||||
|
`unsupported-node-shape`, and an empty node's leaf and closed spellings swap which one parses;
|
||||||
|
`MIGRATION.md` lists each.
|
||||||
|
- **Breaking:** a link whose text holds another link keeps the inner link and leaves the outer
|
||||||
|
brackets literal text, where `0.1.0` split the outer link around it; see `MIGRATION.md`.
|
||||||
- Add `adfToPlainMarkdown` and `plainMarkdownToAdf`, a lossy pair converting ADF to and from
|
- Add `adfToPlainMarkdown` and `plainMarkdownToAdf`, a lossy pair converting ADF to and from
|
||||||
markdown GitHub, GitLab and Obsidian render: alerts, callouts, task lists, `==highlights==` and
|
markdown GitHub, GitLab and Obsidian render: alerts, callouts, task lists, `==highlights==` and
|
||||||
pipe tables.
|
pipe tables.
|
||||||
- Spell `rule`'s `color`, `style` and `weight` and `layoutSection`'s `columnRuleStyle` directly
|
- Spell `rule`'s `color`, `style` and `weight`, `layoutSection`'s `columnRuleStyle` and a link's
|
||||||
where they rode the opaque carry.
|
`collection`, `id` and `occurrenceKey` directly where they rode the opaque carry.
|
||||||
- Fix a link whose text holds another link: the inner link is kept and the outer brackets stay
|
|
||||||
text, where the outer link was dropped.
|
|
||||||
- Fix an image inside another image's description: it flattens into the alt text, where it was
|
- Fix an image inside another image's description: it flattens into the alt text, where it was
|
||||||
refused.
|
refused.
|
||||||
|
|
||||||
## 0.1.0
|
## 0.1.0
|
||||||
|
|
||||||
- First release: lossless conversion between ADF and an extended markdown flavour —
|
- First release: lossless conversion between ADF and an extended markdown flavour —
|
||||||
`adfToMarkdown`, `markdownToAdf` and `isAdfDocument`. Plain CommonMark is valid input, nothing
|
`adfToMarkdown`, `markdownToAdf` and `isAdfDocument`. Nothing throws, and every error carries a `code` from a closed list.
|
||||||
throws, and every error carries a `code` from a closed list.
|
|
||||||
|
|||||||
@@ -5,7 +5,8 @@ an HTML dialect.
|
|||||||
|
|
||||||
**Status: published — the markdown round-trip (`adfToMarkdown`, `markdownToAdf`); HTML at
|
**Status: published — the markdown round-trip (`adfToMarkdown`, `markdownToAdf`); HTML at
|
||||||
`0.2.0`.**
|
`0.2.0`.**
|
||||||
Plan: `todo.md`. Changes: `CHANGELOG.md`. Decisions: `AGENTS.md`. The lossless flavour's grammar:
|
Plan: `todo.md`. Changes:
|
||||||
|
[`CHANGELOG.md`](https://gitea.larvit.se/larvit/adf-codec/src/branch/main/CHANGELOG.md). Decisions: `AGENTS.md`. The lossless flavour's grammar:
|
||||||
[`spec/flavour.md`](https://gitea.larvit.se/larvit/adf-codec/src/branch/main/spec/flavour.md).
|
[`spec/flavour.md`](https://gitea.larvit.se/larvit/adf-codec/src/branch/main/spec/flavour.md).
|
||||||
Upgrading from `0.1.0`: [convert your markdown first](https://gitea.larvit.se/larvit/adf-codec/src/branch/main/MIGRATION.md).
|
Upgrading from `0.1.0`: [convert your markdown first](https://gitea.larvit.se/larvit/adf-codec/src/branch/main/MIGRATION.md).
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user