메인 콘텐츠로 건너뛰기

2026-05-19 · 1분 읽기

docs site용 Markdown to HTML

preview용 prose convert; production HTML은 static site generator로.

MarkdownHTMLdocs

핵심 요점

  • tables, footnotes, custom components는 SSG와 다를 수 있음 — output approximate로.
  • web에서 user Markdown render 시 HTML sanitize.

Preview workflow

Markdown draft, stakeholder preview용 HTML convert, reviewer indentation 필요 시 HTML format.

JSON API response에 preview HTML embed 시 HTML entity escape.

자주 묻는 질문

CommonMark compliant?

common blog/docs syntax target, 모든 extension 아님. renderer와 verify.

reverse HTML to Markdown?

simple page supported; complex layout는 manual cleanup.