Repository navigation
docs: fix editorial mark syntax on error pages - #1107
Merged
Merged
Conversation
Q-2-21 (comment) and Q-2-22 (highlight) showed each other's openers;
the parser reports an unclosed `[>>` as Q-2-21 and `[!!` as Q-2-22,
matching the error catalog and the authoring guide. Q-2-19 and Q-2-20
repeated the swap in their descriptions and Related lists.
Q-3-33 to Q-3-36 still used CriticMarkup-style `{++ ...}` syntax and
`.ins`/`.del`/`.mark`/`.comment` classes; they now use the `[++ ...]`
family and the `quarto-*` classes the parser emits.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
Member
|
Oof, those were bad mistakes from the LLM. Thank you for spotting them. (As you can tell, a lot of our docs are not really in an acceptable state right now, so we appreciate the patience and PRs!) |
Contributor
Author
|
No worries, thanks for working on this! |
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.
Fixes #1106.
[>>reports Q-2-21 and[!!reports Q-2-22 (checked with q2 0.42.0), which matches the error catalog andmarkdown-basics.qmd. Q-2-19 and Q-2-20 repeated the swap in their descriptions and Related lists.{++ ...}-style syntax and.ins/.del/.mark/.commentclasses. They now use[++ ...]etc. and thequarto-*classes fromcrates/quarto-core/src/editorial_marks.rs.Docs-only. Each page renders with
q2 render --strictapart from the sibling-link check (expected when rendering a page standalone; same onmain).