Skip to content

mdToStorageHtml

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/apps/api/src/technical-docs/techdocs-export.service.ts

Minimal markdown → XHTML for Confluence storage format. Covers what our generated pages actually use (headings, paragraphs, fenced code, lists, bold/italic/inline code, links, tables degrade to paragraphs). Dependency-free on purpose: marked is ESM-only and breaks the CJS server build.

Signature

ts
function mdToStorageHtml(md: string): string

Parameters

NameType
mdstring

Returns: string

Was this page helpful?

Download as PDF