Taking linked notes with Vimwiki and integrating it with Forgejo wikis
Taking linked notes with Vimwiki and integrating it with Forgejo wikis
@gedankenstuecke I am not much of a vim user, but I discovered Forgejo wikis via your post. Thanks!
@gedankenstuecke The documentation is still a bit too basic. No mention of the Markdown dialect(s) that are supported. No mention in particular of the syntax for links between pages. The only visible examples are "[[Home]]" and "[Page 1](./Page-1/)".
@khinsen yeah, from what I've seen in experimenting with it: it's the same Markdown dialect used elsewhere in forgejo. Links can be done using the []() markdown Syntax, there's 3 special page names (Home, _Sidebar, _Footer [iirc, didn't double check]), and only .MD Files in the root folder of the repo are shown in the drop-down menu.
@gedankenstuecke So that would be Markdown as described on https://docs.codeberg.org/markdown/, meaning CommonMark 0.30.
But then it says "alternative link syntax", and explains something which is not in CommonMark (double brackets).
Also, I don't see by which mechanism [[Home]] is mapped to the file Home.md. Nothing says that the extension can be left out.
All that is of course just the usual Markdown mess. No two parsers work the same way.
@khinsen yeah, the alternative link Syntax seems to just be the MediaWiki one. And the name of the markdown file (sin file extension) becomes the lemma/link. But agree, the docs on this could be clearer/improved!
Also a big thanks to @johl who (accidentally) pointed me at all of this 😆
@gedankenstuecke It fills my little heart with joy that you make good use of vimwiki
@johl yeah, the connection to the Forgejo wikis is really cool. Especially being able to quickly render it locally to a full HTML version with (potentially) custom CSS!