-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't export when defining extra pandoc arguments containing spaces #77
Comments
Hi,
|
@Limezy Yeah, but no luck. The value of "Extra Pandoc arguments" is split on space characters before it's sent to the command line, so escaping that space has no effect. |
I can confirm this. I did find a workaround for (path) spaces in plugin settings Please test it. |
I think you're missing another '\'. It should be placed in front of "Documents" of "Mobile Documents" like:
|
I use a reference document with pandoc like so:
But because "Extra Pandoc arguments" are split on spaces, the plugin sees this as three arguments rather than one.
https://github.com/OliverBalfour/obsidian-pandoc/blob/master/pandoc.ts#L141
This throws the error:
The text was updated successfully, but these errors were encountered: