Replies: 1 comment
-
@mokeyish If you call pandoc with -M/--metadata, you can set a metadata value from the commandline which is accessible in the Lua filter. With this in
This in
Gives this result:
(note the command line variable passed as a metadata value using in the identifier, which was just the quickest example I could come up with, and note that you may need to ensure Meta is run before the function that uses it) |
Beta Was this translation helpful? Give feedback.
0 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.
-
I need to read a variable value set in the command line. Thank you for any assistance.
Beta Was this translation helpful? Give feedback.
All reactions