include Lua filter [DRAFT]
#11377
kainctl
started this conversation in
Show and tell
Replies: 1 comment 2 replies
-
|
There is the include-files filter; any PR there that improves the current behavior, adds new features, or supports additional syntax would be most welcome! |
Beta Was this translation helpful? Give feedback.
2 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.
-
Warning
This is still a WIP and I might be missing something important but the initial tests seem quite promising!
Thanks to the amazing work of @tarleb in #11371 it should now (in the latest
masterbranch) be possible to create a fullincludeLua filter.The following Lua filter can inject the contents of one file into the current document, while correctly resolving the media files/without breaking
--extract-media:include.luaCalling it would look like:
Beta Was this translation helpful? Give feedback.
All reactions