OliverBalfour / obsidian-pandoc

Pandoc document export plugin for Obsidian (https://obsidian.md)
MIT License
691 stars 57 forks source link

Allow spaces in paths in Extra Pandoc arguments #211

Open ParkerRobb opened 6 months ago

ParkerRobb commented 6 months ago

Fixes #77 Fixes #86 Fixes #113 Fixes #136 Fixes #159 using the fix suggested by GittyBruce.

Filepaths with spaces can now be specified in the Extra Pandoc arguments using the following form (no quote marks or backslash escapes), using the defaults option as an example:

--defaults=/file path/with spaces/defaults.yaml
Jmuccigr commented 3 weeks ago

Any chance for this to be incorporated, or perhaps someone has their own fork with it? Since the default bibliography output from Zotero is called "My Library", not handling a space is kind of a hassle. I'll make a symlink for now.

ParkerRobb commented 3 weeks ago

perhaps someone has their own fork with it?

See the extra-pandoc-arg-spaces branch in my fork here: https://github.com/ParkerRobb/obsidian-pandoc You'll still have to compile the code yourself though before you can use it as a plugin.

In the meantime, because I don't have a way to compile it, I resorted to using filenames without spaces.