Goal
Add classoption support to the CLI so users can configure LaTeX document class options (e.g. twocolumn, landscape) through interactive prompts or command flags.
Scope
- Expose
classoption as a configurable field during project setup or via a dedicated command
- Write the value as a YAML list into
pandoc.yaml
- Validate entries against known common values (twocolumn, landscape, draft, oneside) while allowing arbitrary pass-through
Outcome
Users can set LaTeX class options through the CLI without hand-editing pandoc.yaml.
Notes
Upstream: knight-owl-dev/keystone#168 adds classoption to the shared pandoc.yaml template with documentation and a blank default value. The property is a standard Pandoc template variable guarded by $if(classoption)$ in the default LaTeX template — a null/empty value is a safe no-op.
Goal
Add
classoptionsupport to the CLI so users can configure LaTeX document class options (e.g.twocolumn,landscape) through interactive prompts or command flags.Scope
classoptionas a configurable field during project setup or via a dedicated commandpandoc.yamlOutcome
Users can set LaTeX class options through the CLI without hand-editing
pandoc.yaml.Notes
Upstream: knight-owl-dev/keystone#168 adds
classoptionto the sharedpandoc.yamltemplate with documentation and a blank default value. The property is a standard Pandoc template variable guarded by$if(classoption)$in the default LaTeX template — a null/empty value is a safe no-op.