mirror of
https://github.com/larvit/adf-codec.git
synced 2026-11-19 22:55:44 +01:00
Answer principles round 3: 0 🔴, 1 🟡 (0 misread); the carry walk's entries hold their code block, the linked image its own function, item 143 filed
This commit is contained in:
+3
-3
@@ -3,9 +3,9 @@
|
||||
## Unreleased
|
||||
|
||||
- `adfToHtml` writes ADF as HTML: paragraphs, headings, lists, quotes, code blocks, rules, hard
|
||||
breaks, external images, and `em`, `strong`, `code` and links as their elements. A paragraph,
|
||||
heading, quote, list, list item, code block or rule writes an attribute such as `localId` as
|
||||
`data-local-id`. Every other node is an element of class `adf-carry` holding the node's JSON in
|
||||
breaks, a centered external image holding no attribute but its URL and alt, and `em`, `strong`,
|
||||
`code` and links as their elements. A paragraph, heading, quote, list, list item, code block or
|
||||
rule writes an attribute such as `localId` as `data-local-id`. Every other node is an element of class `adf-carry` holding the node's JSON in
|
||||
`data-adf` and showing its content, links included. Every URL is written as the ADF holds it,
|
||||
`javascript:` included: sanitize HTML from an author you do not trust before showing it.
|
||||
- **Breaking:** `losslessMarkdownToAdf` gives a `date`, `emoji`, `inlineCard`, `mention`, `status`
|
||||
|
||||
Reference in New Issue
Block a user