-
Notifications
You must be signed in to change notification settings - Fork 331
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.4 Changelog Updates: Lua Filters #8301
Comments
@cscheid Let's get this closed for 1.5. I'm happy to take a stab if you help me find homes. I checked off the last one (#7083) since we do document conditional spans as part of Conditional Content. That leaves:
I'm assuming this belongs somewhere in https://quarto.org/docs/extensions/lua-api.html Maybe as a mention in https://quarto.org/docs/extensions/lua-api.html#lua-base-api?
These need to go in https://quarto.org/docs/extensions/lua-api.html#quarto-lua-api Do they go:
|
On:
Is this describing the same thing: https://quarto.org/docs/prerelease/1.4/lua_changes.html#relative-paths-in-require-calls ? Can we grab this and chuck it wherever we decide from above? |
Yes, and yes. |
I don’t see the new LUA filter processing order in this issue or in the main documentation, am I missing something?
|
@mcanouil It's in a different issue, but I'll attack them together |
Moving from #7906
Leaving up to @cscheid if and where these are documented:
Lua filters
require()
calls.quarto.doc.add_resource
andquarto.doc.add_supporting
.add_resource
will add a resource file to the current render, copying that file to the same relative location in the output directory.add_supporting
will add a supporting file to the current render, moving that file file to the same relative location in the output directory.(#5242): Add line numbers to error messages.(#5461): ensure return type ofstripTrailingSpace
is alwayspandoc.List
.(#5466): Provide global environment_G
to user filters.(#6211): Improve error message when a JSON filter (or a potentially misspelled Lua filter from an extension) is not found.quarto.utils.string_to_inlines
andquarto.utils.string_to_blocks
to Lua API to convert a string to a list of inlines or blocks taking into account quarto's AST structure.(#6289): allowmarkdownToInlines
to take empty string.(#6935): render callouts togfm
using GitHub's syntax.The text was updated successfully, but these errors were encountered: