Filters: spellcheck.lua example fails (bug?) #13294
Unanswered
HenrikBengtsson
asked this question in
Q&A
Replies: 2 comments 13 replies
-
I get the same if I try with: filters:
- spellcheck.lua
- quarto and filters:
- quarto
- spellcheck.lua |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm not sure this filter is quite up to date with Pandoc API quarto pandoc --lua-filter spellcheck.lua --from markdown index.qmd |
Beta Was this translation helpful? Give feedback.
13 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
TL;DR
When following the filter example on https://quarto.org/docs/extensions/filters.html#activating-filters,
quarto render
fails to generate HTML with an error.Reproducible example
Then add "filters" to header per https://quarto.org/docs/extensions/filters.html#activating-filters;
Download
spellcheck.lua
;Then, trying to render gives an error:
$ quarto render [1/2] about.qmd [2/2] index.qmd ERROR: NotFound: No such file or directory (os error 2): readfile '/home/hb/quarto-tests/quarto-filter-test/index.html' Path: /home/hb/quarto-tests/quarto-filter-test/index.html Stack trace: at readTextFileSync (ext:deno_fs/30_fs.js:864:10) at Object.Deno.readTextFileSync (file:///home/hb/shared/software/CBI/quarto-1.7.33/bin/quarto.js:5291:25) at file:///home/hb/shared/software/CBI/quarto-1.7.33/bin/quarto.js:79666:36 at withTimingAsync (file:///home/hb/shared/software/CBI/quarto-1.7.33/bin/quarto.js:17114:31) at runHtmlPostprocessors (file:///home/hb/shared/software/CBI/quarto-1.7.33/bin/quarto.js:79664:15) at Object.complete (file:///home/hb/shared/software/CBI/quarto-1.7.33/bin/quarto.js:79502:49) at Object.onPostProcess (file:///home/hb/shared/software/CBI/quarto-1.7.33/bin/quarto.js:87114:53) at renderFileInternal (file:///home/hb/shared/software/CBI/quarto-1.7.33/bin/quarto.js:87098:26) at eventLoopTick (ext:core/01_core.js:175:7) at async renderFiles (file:///home/hb/shared/software/CBI/quarto-1.7.33/bin/quarto.js:86910:17)
It renders just fine if I remove the filters declaration;
Session info
Beta Was this translation helpful? Give feedback.
All reactions