Introduction
Usage
.html--to html--from html
stencila convert doc.smd doc.htmlNote
Warning
Implementation
tlcodec-html-trait
Limitations
Decoding from HTML is lossy for elements that have no Stencila Schema equivalent (e.g. <div>layout, <form>elements, custom attributes). CSS styling and JavaScript are not preserved during import. HTML is always decoded as an Article; other root node types are not inferred from HTML structure.