Changelog
What changed, and when.
Every released version of the codefrag extension, and what each one changed.
1
1.2
1.2.1 (2026-09-23)
Bug Fixes
- fix: Report a key nested inside an option as a warning rather than an error, so one nested typo does not invalidate the whole configuration. This matches how the extension already reports an unknown key at the top of its own block. (#21)
Documentation
- docs: Add worked examples for each code block attribute, each line matching rule, each console message and each print setting. Correct the pages where they did not match the code. (#23)
- docs: Serve the extension’s social card as the Open Graph image, so a shared link shows the card rather than the first image on the page. (#18)
Refactoring
- build: Update the vendored Lua modules to 2.3.0, which includes the
schema-checkfix for an extension whose entry points are in a subdirectory. A module no longer carries a version line in its header, so its checksum changes only when its code changes. (#19) - build: Fetch the schema validator from a Quarto Wizard release asset rather than a raw path inside its repository, which a refactor could move without notice. The vendored file is unchanged. (#20)
- build: Update the vendored Lua modules to 2.5.0, which adds the accessors that read what the schema resolves an option, an element’s attributes and a format’s options to. The schema validator moves to its own release train and is pinned at
schema-v2.2.0, which accepts onlytrueandfalseas a boolean. (#21)
1.2.0 (2026-09-07)
New Features
- feat: Check the document configuration against the extension schema and report what it does not accept. The deck must name
codefragunderfilters:as well as underrevealjs-plugins:for the check to run. (#14)
1.1
1.1.1 (2026-08-01)
Documentation
- docs: Add a documentation website under
docs/, built on theatelierproject type and published to https://m.canouil.dev/quarto-revealjs-codefrag/, including a deck to step through. - docs: Trim
README.mdto a landing page pointing at the website. - docs: Add the Pages workflow, which renders
docs/on pull requests and deploys it from the release tag. - docs: Add the Quarto Extensions Updates workflow, scanning
docsfor the website’s own dependencies.
1.1.0 (2026-05-31)
Bug Fixes
- fix: Skip
popperInstance.update()when the anchor is detached between the syntheticclick()and the deferredrequestAnimationFrame, preventing a no-op error when slide changes interrupt tooltip mounting. - fix: Emit a
console.warnlisting the offending position and raw token whencode-annotation-fragment-indicesorcode-line-fragment-indicescontains a non-numeric value, instead of silently leaving the affected slot unindexed.
Features
- feat: Add
extensions.codefrag.patch-tooltip-overflow(defaulttrue) to opt out of the tooltipappendTopatch and keep Quarto’s default container. - feat: Add
extensions.codefrag.on-annotation-showncallback fired after every annotation tooltip is shown (live navigation and PDF export), receiving{ anchor, slide, targetCell, targetAnnotation, tippy }. - feat: Detect overflow-clipping ancestors when patching tooltips; fall back to the slide
<section>only when an inner container actually clips, otherwise leave Quarto’s defaultappendToin place so nested layouts (e.g.::: {.columns}) render with the natural anchor. - feat: Document and demonstrate annotations inside nested containers in
example.qmd.
Documentation
- docs: Document the new options, the validation behaviour, and the nested-container support in
README.md,example.qmd, and_schema.yml.
1.0
1.0.1 (2026-04-27)
Bug Fixes
- fix: Patch tooltip
appendToon every show to escapeoverflow: hiddencontainers (e.g.code-window).
1.0.0 (2026-04-18)
- feat: Initial release.