Introduction
Usage
Under development
.atproto.json--to atprotojson
stencila convert article.smd article.atproto.json
stencila convert doc.md doc.atproto.jsonBlock Type Mappings
$type | ||
|---|---|---|
Paragraph | pub.oxa.blocks.defs#paragraph | |
Heading | pub.oxa.blocks.defs#heading | level |
CodeBlock | pub.oxa.blocks.defs#code | valuelanguage |
MathBlock | pub.oxa.blocks.defs#math | tex |
ThematicBreak | pub.oxa.blocks.defs#thematicBreak | |
QuoteBlock | pub.oxa.blocks.defs#blockquote | \n |
List | pub.oxa.blocks.defs#orderedList | childrenstartIndex |
List | pub.oxa.blocks.defs#unorderedList | children |
FigureTable
Inline Type Mappings
OXA ( pub.oxa.richtext.facet#*): Full-fidelity features for OXA-aware applications Leaflet ( pub.leaflet.richtext.facet#*): Compatibility features for Leaflet-aware applications Bluesky ( app.bsky.richtext.facet#*): Link features for Bluesky-compatible applications (HTTP/HTTPS URLs only)
Inline
Emphasis | |
Strong | |
CodeInline | |
Strikeout | |
Underline | |
Subscript | |
Superscript | |
Link |
Provisional Lexicon Status
Known Limitations
Encode-only : Decoding from AT Protocol JSON is not supported. Article-only : Only Articlenodes can be encoded; other root node types return an error. Dropped properties : Block-level idand classesproperties are not preserved. Dropped article metadata : authorsand abstractfields are recorded as losses. QuoteBlock flattening : Multi-paragraph quote blocks are flattened to newline-joined text, losing block structure. List constraints : Mixed nesting types (e.g. ordered list containing unordered sub-list) and multi-block list items record losses. Unsupported types : Block and inline types not listed above are omitted with loss tracking.