MatthieuBizien / roam-to-git

Automatic RoamResearch backup to Git
MIT License
550 stars 133 forks source link

/ in page name creates a directory #57

Closed mmazur closed 4 years ago

mmazur commented 4 years ago

Describe the bug My Someday/Maybe page ends up being {formatted/markdown}/Someday/Maybe.md.

Expected behavior I was expecting a file named something like Someday%!@#$@#^!@3@@#$Maybe.md with the %!@#$@#^!@3@@#$ part representing a / in some obscure encoding. :)

Please complete the following information:

everruler12 commented 4 years ago

As figured out here, you can rename your page with (full-width slash) to get around this. Backslashes in page titles are namespaces. I don't think this is an issue with roam-to-git, because it is how Roam's backend formats the export .zip, which roam-to-git simply downloads and extracts. It is convenient for namespaces such as Book/Harry Potter, where all books would be in their own directory.

mmazur commented 4 years ago

ack, thx