docs: Document syntax-highlighting option replacing highlight-style#1873
Closed
cderv wants to merge 7 commits intoquarto-dev:prereleasefrom
Closed
docs: Document syntax-highlighting option replacing highlight-style#1873cderv wants to merge 7 commits intoquarto-dev:prereleasefrom
cderv wants to merge 7 commits intoquarto-dev:prereleasefrom
Conversation
this is needed when we need to add some specific for a format while keeping the same global include for all doc
Collaborator
Author
|
Wrong branch so I reopened #1874 |
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
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)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