Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Bastian Greshake Tzovaras
Bastian Greshake Tzovaras
@gedankenstuecke@scholar.social  ·  activity timestamp 3 weeks ago

I wrote about taking linked notes with @vimwiki and how to integrate this with the wikis that @forgejo (e.g. via @Codeberg) can provide to git repositories.

https://tzovar.as/linked-notes-with-vimwiki/

#vim #wiki

Bastian Greshake Tzovaras

Taking linked notes with Vimwiki and integrating it with Forgejo wikis

A couple of days ago, I stumbled over a Mastodon post by @johl, in which he shared vimwiki as his approach for taking notes in vim. Which immediately piqued my interest, as I have so far been just taking my notes in plain vim without a way of linking them....
⁂
More from
Bastian Greshake Tzovaras
  • Copy link
  • Flag this post
  • Block
Konrad Hinsen
Konrad Hinsen
@khinsen@scholar.social replied  ·  activity timestamp 2 weeks ago

@gedankenstuecke I am not much of a vim user, but I discovered Forgejo wikis via your post. Thanks!

  • Copy link
  • Flag this comment
  • Block
Konrad Hinsen
Konrad Hinsen
@khinsen@scholar.social replied  ·  activity timestamp 2 weeks ago

@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/)".

  • Copy link
  • Flag this comment
  • Block
Bastian Greshake Tzovaras
Bastian Greshake Tzovaras
@gedankenstuecke@scholar.social replied  ·  activity timestamp 2 weeks ago

@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.

  • Copy link
  • Flag this comment
  • Block
Konrad Hinsen
Konrad Hinsen
@khinsen@scholar.social replied  ·  activity timestamp 2 weeks ago

@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.

  • Copy link
  • Flag this comment
  • Block
Bastian Greshake Tzovaras
Bastian Greshake Tzovaras
@gedankenstuecke@scholar.social replied  ·  activity timestamp 2 weeks ago

@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!

  • Copy link
  • Flag this comment
  • Block
Bastian Greshake Tzovaras
Bastian Greshake Tzovaras
@gedankenstuecke@scholar.social replied  ·  activity timestamp 3 weeks ago

Also a big thanks to @johl who (accidentally) pointed me at all of this 😆

  • Copy link
  • Flag this comment
  • Block
Jens Ohlig
Jens Ohlig
@johl@mastodon.xyz replied  ·  activity timestamp 3 weeks ago

@gedankenstuecke It fills my little heart with joy that you make good use of vimwiki

  • Copy link
  • Flag this comment
  • Block
Bastian Greshake Tzovaras
Bastian Greshake Tzovaras
@gedankenstuecke@scholar.social replied  ·  activity timestamp 3 weeks ago

@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!

  • Copy link
  • Flag this comment
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1-alpha.40 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct