Document apiReference
markdownToFragment
Convert a Markdown string into an SDM/1 structural fragment.
read-onlyidempotent
doc.markdownToFragment(…)Expected result
Returns an SDMarkdownToFragmentResult with the converted fragment, lossy flag, and diagnostics.
Inputs
markdownstringrequiredResult
Output fields
fragmentunknownrequiredlossybooleanrequireddiagnosticsobject[]requiredRaw schemas
Open the generated JSON artifact for the exact input, output, success, and failure schemas represented by this contract version.
View raw JSON schemas