# Changelog ## Unreleased - **Breaking:** `commonMarkToAdf`, `losslessMarkdownToAdf` and `portableMarkdownToAdf` match a link reference to its definition under Unicode case folding, where `0.3.1` lowercased the label. `[ẞ]` with `[SS]: /url` reads as a link, and where two definitions' labels fold together, the first wins. `ı` and `I` stay two labels. - `adfToPortableMarkdown` writes a line of whitespace-only text nodes beside a hard break, every other one linked, in time linear in the number of nodes, where `0.3.1` took time quadratic in it. - `adfToPortableMarkdown` writes a line of code spans alternating with emphasized spaces in time linear in its length, where `0.3.1` took time quadratic in it. - `adfToHtml` writes a media single, a media group and a caption as `
` holding an `` and a `
`, and as `
` of `` files, where `0.3.1` wrote the carry element, and `htmlToAdf` reads them back. A link around the image is the media's link mark. The carry element `0.3.1` wrote for them still reads. - `adfToHtml` writes underline as ``, subscript and superscript as `` and ``, a text colour as ``, a background colour as `` and a paragraph's or heading's alignment as `data-align="center"` or `data-align="end"`, where `0.3.1` wrote the carry element, and `htmlToAdf` reads them back. The carry element `0.3.1` wrote for them still reads. - **Breaking:** `adfToHtml` writes a table cell's background as `data-background-color="…"`, where `0.3.1` wrote `style="background-color:…"`, so the HTML holds no `style` attribute and a browser no longer shows the colour unaided. `htmlToAdf` still reads the `0.3.1` spelling. A table whose cell background isn't letters and digits after an optional `#` is written too, where `0.3.1` wrote the whole table as the carry element. - `htmlToAdf` names every spelling of the dialect's `
`, `` and `` in the refusal of one it can't read. - `adfToHtml` writes a paragraph's or heading's indentation as `data-indent-level="2"`, where `0.3.1` wrote the carry element, and `htmlToAdf` reads it back. The carry element `0.3.1` wrote for it still reads. - `htmlToAdf` reads an expand's `
`, as a browser writes one its user opened, as the same expand. - `adfToHtml` writes a panel as `
`, an expand and a nested expand as `
` with the title in a ``, a task list as `