Run Pandoc script on Current Location for currently active note #305
-
I use a terminal for a pandoc conversion, because the Pandoc plugin is unfortunately a little hit or miss, which I can't seem to pinpoint exactly why it’s not working. So I just use the terminal to do the conversion. So I right click the Obsidian note I want to convert and hit “Show in system explorer” and there then “Open in Terminal”. I would like to use this plugin to skip this last step. I would like the plugin to select the currently active plugin, and run this script on it:
So far, I've figured out that I need to start the command in the plugin with But I cannot figure out how to customize the command to run on the specific file location and with the currently active note? Any advice? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
After posting, I searched for something else, and found this thread in the discussions: #280 |
Beta Was this translation helpful? Give feedback.
After posting, I searched for something else, and found this thread in the discussions: #280
So I solved it like that.
pandoc {{file_path:absolute}} -o {{folder_path:absolute}}/{{title}}.tex