Allow MARKED_ORIGIN, etc., variable substitution in customprocessor arguments
Yes, it's another pandoc-related suggestion… pandoc has a --resource-path
option which allows you to explicitly specify where it should search for files. Setting --resource-path
correctly solves about 90% of pandoc-related path problems. At the moment, though, if you specify --resource-path="$MARKED_ORIGIN"
in the custom processor arguments this is passed through to pandoc as the literal string --resource-path="$MARKED_ORIGIN"
with no variable substitution.
This can be worked around with a trivial wrapper script, but it would be tidier (and somewhat more user-accessible) to be able to use the environment variables in the GUI processor arguments.
Thanks!
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Brett on 17 Apr, 2021 07:05 PM
I don't hate this idea, seems like a reasonable assumption that it would
work. Will look into implementing it.
-Brett
Support Staff 2 Posted by Brett on 27 May, 2021 11:58 AM
This is done for the next update release. All environment variables will
be substituted when used as "$VARIABLE" in processor and preprocessor
arguments. Thanks for the suggestion.
-Brett
3 Posted by Keith B. on 27 May, 2021 01:02 PM
Awesome, thanks a bunch for implementing!