-
Notifications
You must be signed in to change notification settings - Fork 996
docs: Document syntax-highlighting option replacing highlight-style #1874
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This comment was marked as outdated.
This comment was marked as outdated.
this is needed when we need to add some specific for a format while keeping the same global include for all doc
Previously Typst used its own native code highlighting. Starting with 1.9, it uses Pandoc Skylighting by default (same as HTML/LaTeX). The old behavior is available via syntax-highlighting: idiomatic.
c98db31 to
13614fd
Compare
Contributor
📝 Preview Deployment🔍 Full site preview: https://deploy-preview-1874.quarto.org 🔄 Modified Documents |
Contributor
📝 Preview Deployment🔍 Full site preview: https://deploy-preview-1874.quarto.org 🔄 Modified Documents |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Quarto 1.9 (via Pandoc 3.8) introduces the
syntax-highlightingoption replacinghighlight-style(quarto-dev/quarto-cli#13984). This updates documentation site-wide.Changes
Site-wide rename of
highlight-styletosyntax-highlightingin YAML examples and prose across 13 files (tutorials, format pages, book output).Shared include (
_document-options-syntax-highlighting.md):noneandidiomaticspecial valueswhen-metaconditionals for format-specific content (PDF/LaTeX explainslistingspackage, Typst explains native highlighting delegation)a11yto the theme list (was missing)Format-specific pages:
pdf-basics.qmdandtypst.qmdsetdoc-typemetadata to trigger conditional content from the shared includetypst.qmdnow uses_document-options-begin.md(Typst-specific content for TOC, section numbering, and syntax highlighting moved into shared includes viawhen-metaconditionals)syntax-highlighting: idiomaticrestores the old behavior.html-code.qmdfixes deprecatedfig.altattribute syntax tofig-altrevealjs/index.qmdadds a### Syntax Highlightingsubsection notingidiomaticis not supportedHistorical files (
changelog,_draft/) are intentionally unchanged.Companion to quarto-dev/quarto-cli#13984