mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-01 05:33:41 +08:00
99a45917ac
The Typst writer will pass on specially marked attributes as raw Typst parameters on selected elements. This allows extensive customization using filters. An attribute with key `typst:PROP` will set the PROP parameter on the corresponding Typst element. An attribute with key `typst:text:PROP` will set a parameter on a Typst `#set text()` rule or a text element. The feature has been implemented for the following elements: * span text * div and div text * table and table text * table cell and table cell text It would be possible to support more elements in the future. A separate document has been added that provides extensive documentation and examples of the use of this feature.