Repository navigation
Conversation
Adds a Definition Lists section to Markdown Basics for the div syntax from quarto-dev/quarto-cli#15140, and a 1.11 highlight for it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
3 of 5 tasks
Contributor
📝 Preview Deployment🔍 Full site preview: https://deploy-preview-2305.quarto.org 🔄 Modified Documents |
Member
Author
|
The main thing I'm not sure about here is the reference to Quarto 2. Should we include a link to the repo or just leave it as is? It might be the first official reference to "Quarto 2" in the docs. |
cderv
pushed a commit
to quarto-dev/quarto-cli
that referenced
this pull request
Oct 22, 2026
A `.definition-list` div holding one bullet list of terms, each followed by a nested bullet list of definitions, now renders as a DefinitionList. Quarto 2 uses this syntax in place of Pandoc's `term` / `: definition` form, so authors can adopt it before upgrading to Quarto 2. Divs with any other shape are left untouched, and the div's attributes are dropped because DefinitionList has no Attr. - Add a `definitionlist` module, registered in `_quarto.modules` - Run it as an astpipeline pass right after the list-table pass, so it runs before crossrefs and user filters See #13528 for the list-table precedent See quarto-dev/quarto-web#2305 for the documentation
This branch has not been deployed
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.
Documentation for quarto-dev/quarto-cli#15140 (draft), which adds Quarto 2's
.definition-listdiv syntax to Quarto 1.11.docs/authoring/markdown-basics.qmd: new Definition Lists section after Lists, with aprerelease-callout 1.11, an example of the source followed by its output, and the structural rules: what a malformed div does, and that the div's attributes are dropped.docs/prerelease/1.11/_highlights.qmd: replaces the placeholder with a highlight for the feature.This targets
prereleasebecause the feature is new in 1.11.The live example only renders as a definition list once the prerelease build used for the site includes quarto-cli#15140. Until then it shows as nested bullets. I checked the page locally with a dev
quartopointed at the quarto-cli branch's filters: it renders a<dl>with both terms and the pre-release callout.The existing
term/: definitionrow in the Lists table is unchanged.🤖 Generated with Claude Code