Skip to content

Support language-settings on divs in Typst #10965

@tarleb

Description

@tarleb

Currently, lang attributes on Div elements are ignored by the Typst writer:

::: {lang=fr}
"L'État, с'est moi!"
::: 
#block[
"L'État, с'est moi!"

]

It might make sense to use #set for this, e.g.,

#[
#set text(lang: "fr")

"L'État, с'est moi!"
]

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions