Module builtins

Module builtins 

Source
Expand description

Built-in templates embedded at compile time.

These templates are included via include_str! and parsed on first access. They serve as the defaults for the HwpForge toolchain:

  • default: A4 paper, 한컴바탕 font, body/heading/code/quote styles
  • gov_proposal: Korean government proposal formatting (extends default)

Constants§

DEFAULT_YAML
Raw YAML source for the default template.
GOV_PROPOSAL_YAML
Raw YAML source for the government proposal template.

Functions§

builtin_default
Parses and returns the built-in default template.
builtin_gov_proposal
Parses and returns the built-in government proposal template.