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.OriginalGloss.md.

Type Alias: OriginalGloss

OriginalGloss = "parens" | "ruby"

Selects how glosses are rendered when RenderMode is "original".

  • "parens" — Wrap the gloss in parentheses: 漢字(한글) (default). Corresponds to Rust OriginalGloss::Parens.
  • "ruby" — Wrap the gloss in a <ruby> element. Falls back to parentheses in scopes that do not permit inline markup. Corresponds to Rust OriginalGloss::Ruby.

This option is ignored when rendering is not "original".