For AI agents: the complete documentation index is available at https://canary.gukhanmun.org/llms.txt, the full documentation bundle is available at https://canary.gukhanmun.org/llms-full.txt, and this page is available as Markdown at https://canary.gukhanmun.org/api/js/types/_gukhanmun_types.MediaType.md.

Type Alias: MediaType

MediaType = "text/plain" | "text/html" | "text/markdown" | "text/markdown; variant=GFM"

Canonical input/output media types for Gukhanmun.convert and Gukhanmun.stream.

  • "text/plain": Plain text (default). Ruby rendering falls back to parentheses.
  • "text/html": HTML fragments.
  • "text/markdown": CommonMark Markdown.
  • "text/markdown; variant=GFM": GitHub Flavored Markdown, including tables, strikethrough, and task lists.