Skip to content

Typst template: Fix keywords usage.#11317

Merged
jgm merged 1 commit intojgm:mainfrom
har7an:fix/typst-template-keywords
Dec 2, 2025
Merged

Typst template: Fix keywords usage.#11317
jgm merged 1 commit intojgm:mainfrom
har7an:fix/typst-template-keywords

Conversation

@har7an
Copy link
Contributor

@har7an har7an commented Dec 2, 2025

Previously the template turned any keywords defined in Pandoc metadata into empty objects due to a misnomer in a loop variable. This in turn was rejected by the Typst compiler as invalid syntax, making document generation with keywords impossible.

Previously the template turned any `keywords` defined in Pandoc metadata
into empty objects due to a misnomer in a loop variable. This in turn
was rejected by the Typst compiler as invalid syntax, making document
generation with keywords impossible.
@har7an
Copy link
Contributor Author

har7an commented Dec 2, 2025

I know the contributing guide asks to write tests, but I'm not familiar with this repository and I don't see any tests for other language templates. Do you think this change requires a test and if so, where should I add it?

@jgm jgm merged commit bbedaad into jgm:main Dec 2, 2025
11 of 14 checks passed
@jgm
Copy link
Owner

jgm commented Dec 2, 2025

Thanks! I don't think we need a test for this, which is clearly correct.

@har7an har7an deleted the fix/typst-template-keywords branch December 2, 2025 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants