Skip to content

Typst Writer should not escape single and double quotes #10271

@cskeeters

Description

@cskeeters

The Typst format doesn't support the smart extension. In general, this is fine since typst has it's own ability to convert strait quotes into curly quotes. Currently, if the input source was read without the smart extension (markdown-smart), the typst writer will use the backslash character to escape both single and double quotes ensuring that they are strait. (\' and \") I propose the Typst Writer be changed to output strait quotes without the backslash escape character.

If I wanted curly quotes in the PDF produced from Typst, it will do that by default. If I want strait quotes, I can modify the template and disable conversion of strait to curly (smart) quotes can be disabled with:

#set smartquote(enabled: false)

Either way, I'd prefer the Typst source not to have escaped quotes, so I propose that change.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions