DokuWiki to MkDocs Migration Tips⚓︎
Converting Links⚓︎
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 plan on doing this again, and it got me through the migration.
Edit the file in vim and use the following substitutions.
%s/\[\[/(/g
%s/|/)\[/g
%s/\]\]/\]/g
Next register a macro and use it on each line to swap the link order.
f[df]F(Pf)
Run the macro a few times and you should be set.