diff --git a/CHANGELOG.md b/CHANGELOG.md index 6082327..a7c42ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Documentation + +- docs: Document the filter as `filters:` with the bare `code-window` name. The long form `path`/`at` overrides the entry point of every filter the extension contributes, so the documented `at: pre-quarto` pulled the Typst title hotfix from `post-quarto` to `pre-quarto`; the manifest already carries both entry points. + ## 1.3.1 (2026-08-01) ### Bug Fixes diff --git a/docs/index.qmd b/docs/index.qmd index 6fb2883..2b42bc7 100644 --- a/docs/index.qmd +++ b/docs/index.qmd @@ -17,8 +17,7 @@ Every named code block on this site is drawn by it, including this one: ```{.yaml filename="_quarto.yml"} filters: - - path: code-window - at: pre-quarto + - code-window ``` ## Installation @@ -44,8 +43,7 @@ Or install it from your editor with [Quarto Wizard](https://m.canouil.dev/quarto ```yaml filters: - - path: code-window - at: pre-quarto + - code-window ``` Name the file, and the block is framed with it: diff --git a/docs/reference.qmd b/docs/reference.qmd index 1214f61..6b66f21 100644 --- a/docs/reference.qmd +++ b/docs/reference.qmd @@ -8,8 +8,7 @@ description: "The complete code-window configuration: the document options, the ```yaml filters: - - path: code-window - at: pre-quarto + - code-window ``` ## Options diff --git a/example.qmd b/example.qmd index 492dbf3..061edcd 100644 --- a/example.qmd +++ b/example.qmd @@ -6,8 +6,7 @@ author: orcid: "0000-0002-3396-4549" url: "https://mickael.canouil.fr" filters: - - at: pre-quarto - path: code-window + - code-window syntax-highlighting: github-dark code-annotations: below toc: true