DokuWiki to MkDocs Migration⚓︎
This worked for about 90% of my links. It didn’t cover complex links. I’m sure there are better ways of doing this, but I don’t intend to do this again, and it got me through the migration.
Edit the file in vim and use the following substitutions.
1 2 3
Next, register a macro and use it on each line to swap the link order.
Run the macro a few times and you should be set.