Closed
Description
I'm working on a typst document that acts as a template used by pandoc
.
To handle a few special cases, there is some pp
functionality included that is filled in during the pre-processing. Namely, this snippet here:
// boolean (default: false)
// @typstyle off
#let fill_page = ${if(fill_page)}${fill_page}${else}false${endif}
// boolean (default: false)
// @typstyle off
#let cont_tbl_header = ${if(cont_tbl_header)}${cont_tbl_header}${else}false${endif}
// boolean (default: true)
/* @typstyle off */
#let breakable_figure = ${if(breakable_figure)}${breakable_figure}${else}true${endif}
As you can see, I tried to disable the formatter for these lines, as they cause issues with the formatter, but to no avail. The formatter keeps complaining about these strings and I have to comment them out to be able to format them.
Do I use the option wrong or is it the string and its symbols that cause the issue?
Metadata
Assignees
Labels
No labels
Activity