Skip to content

Comments

Add group for options that need Typst specific content in docs#14093

Open
cwickham wants to merge 3 commits intomainfrom
fix/schema-add-typst-group
Open

Add group for options that need Typst specific content in docs#14093
cwickham wants to merge 3 commits intomainfrom
fix/schema-add-typst-group

Conversation

@cwickham
Copy link
Collaborator

@cwickham cwickham commented Feb 23, 2026

  1. Adds typst to the document groups in groups.yml so that document-typst.yml options (logo, margin-geometry, theorem-appearance) are included when generating format reference pages.

    Without this, the typst-specific options defined in document-typst.yml were never read by tools/reference.ts in quarto-web, so they didn't appear on the typst reference page.

  2. Moves the typst margin definition from document-reveal-layout.yml to document-layout.yml, resulting in two separate declarations of margin. This pattern already exists for several other options in the schema so I'm hoping it doesn't cause problems.

    @gordonwoodhull could you double-check the Typst schema for margin Claude proposed here?

Fix for #13412

@posit-snyk-bot
Copy link
Collaborator

posit-snyk-bot commented Feb 23, 2026

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@cderv
Copy link
Collaborator

cderv commented Feb 23, 2026

Awesome thank you !!

Why Partial fix only ?

I think this + the reference update covers it right ?

@cwickham
Copy link
Collaborator Author

@cderv we still have a Slide Layout section on the typst page:

Screenshot 2026-02-23 at 9 45 23 AM

I'll add something to this PR for that shortly.

@cwickham
Copy link
Collaborator Author

@cderv this should now close #13412. It's a bigger change, so please review the edited description. I've also tagged @gordonwoodhull for a review, particularly on the margin schema for typst.

@cwickham cwickham marked this pull request as ready for review February 23, 2026 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adapt reference page for common options between typst and revealjs as they show as slide option

3 participants