Open gimbo opened 3 years ago
~
is supported only in shell environment, you should use full path here.
OK, thanks — but as I said:
It's the same with absolute paths, e.g. setting
exportOutDirName
to/home/gimbo
means the exported files are in/tmp/foo/home/gimbo/...
, etc.
I've just double-checked and it's still behaving that way: full path seems to make no difference, it still appears rooted in the notes tree.
Is that not the expected behaviour, then?
(In case there's a difference: this is while doing "Markdown: Export to File", i.e. exporting a single file; I haven't tried "Markdown: Export Markdown to File", which seems to do the whole tree — as in my case that produces 2GB of export 😀.)
I'm also having this issue. I need to export a PDF outside the source tree.
Maybe this isn't possible due to limitations of VSCode, but I was hoping to be able to do something like this:
in order to write exports to a folder outside of the current tree. Unfortunately that just creates & populates a folder called
~
at the top of the tree (so e.g. if I'm working on a tree of notes rooted at/tmp/foo
it would create/tmp/foo/~/
, etc. It's the same with absolute paths, e.g. settingexportOutDirName
to/home/gimbo
means the exported files are in/tmp/foo/home/gimbo/...
, etc.Is this insurmountable? I'd personally find it handy. :-)