Typst Fumadocs

Smartquote

Documentation for the `smartquote` function.

A language-aware quote that reacts to its context.

Automatically turns into an appropriate opening or closing quote based on the active text language.

Example

Loading compiler...

Syntax

This function also has dedicated syntax: The normal quote characters (' and "). Typst automatically makes your quotes smart.

#smartquote(
  double: bool,
  enabled: bool,
  alternative: bool,
  quotes: auto | str | array | dictionary
) -> content

Parameters

Prop

Type

On this page