-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
bugSomething isn't workingSomething isn't workingcliAbout Typst's command line interface.About Typst's command line interface.
Description
Description
typst query always generates document for paged targets. This means it is not possible to use the command to query elements that are only present in HTML export.
For example, consider the document below, meant to be exported to HTML only:
#html.elem("body")[#metadata("bug") <query-me>]The following command returns an empty list and warns that the html.elem was ignored during paged export.
Reproduction URL
No response
Operating system
No response
Typst version
- I am using the latest version of Typst
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcliAbout Typst's command line interface.About Typst's command line interface.