💾 Archived View for jb55.com › notes › gemini-notes.gmi captured on 2021-12-03 at 14:04:38. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
This is an experiment to use gemini documents (.gmi) as a way to take notes. One thing that is different about gemini documents from plaintext documents is that plaintext is typically formatted into 80 columns. Gemini documents are designed to flow so there is no explicit linebreaking.
Gemini also supports basic document formatting such as:
But the motion to keep the planet going in a straight line has no known reason. The reason why things coast for ever has never been found out. The law of inertia has no known origin.
/* number of leading zero bits in a byte */ static inline int msb(unsigned char b) { int n = 0; if (b == 0) return 8; while (b >>= 1) n++; return 7-n; }
Probably my favourite feature of gemini documents is non-inline links. You can do non-inline links with markdown using [1] references, but I find gemini links are a bit cleaner:
=> index.gmi Index
Which appears as
This doesn't break the reading flow like inline links do when viewing a raw markdown document. This is a big deal since I still want to be able to traverse links from within vim (gf) without having the visual nausea of inline links.