3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-21 07:32:58 +01:00

Read GFM's pipe table without leading pipes and with alignment colons in portableMarkdownToAdf

This commit is contained in:
2026-10-14 00:33:59 +02:00
parent 60f50a4f2c
commit a43b532eaa
9 changed files with 78 additions and 39 deletions
+2 -1
View File
@@ -105,7 +105,8 @@
- Add `adfToPortableMarkdown` and `portableMarkdownToAdf`, a lossy pair converting ADF to and from
markdown GitHub, GitLab and Obsidian render: alerts, callouts, task lists, `==highlights==` and
pipe tables. A task item keeps its paragraphs, then its nested task lists; the rest of the item,
such as an image or a code block, stands after the task list.
such as an image or a code block, stands after the task list. `portableMarkdownToAdf` reads GFM's
pipe table without its leading pipes and with alignment colons, dropping the alignment.
- Spell `rule`'s `color`, `style` and `weight`, `layoutSection`'s `columnRuleStyle` and a link's
`collection`, `id` and `occurrenceKey` directly where they rode the opaque carry.
- The README opens with what the package does and for whom, and `package.json` carries search