Open thankstipscom opened 1 year ago
Thanks for this contribution!
I had some problems with the regex's for the links, and since we had the MarkDowku plugin some of our links where already markdown.
If someone would like to fix that I'm happy to accept a PR. Actually I think that a Dokuwiki-only format version of this script might be a good idea. The heuristics for deciding wether to use the file as is (assuming it is fully Markdown) or run it through pandoc is very crude and often wrong, since a page might be partial Markdown.
Thanks for the effort on this script.
i donno if I did it wrong or not, but i just followed the basic instructions. What I got was all my txt files as .md files but the URLs for internal pages didnt convert right.
Example:
[[New Purchase List]]
converted to:
[New Purchase List](New Purchase List)
but it should have been
[New Purchase List](/new_purchase_list)
Once I had the output in my filestorage folder I wrote this script to clean up the above issue and then the import worked mostly well. Figured I'd post this in case someone else has the same issue.