:; fortune The first step in fixing something is getting it to break. :; ls -l --rw-rw-r-- M 117869 a sys 907 Nov 14 22:48 about --rw-rw-r-- M 117869 a sys 213 Nov 14 22:50 changes --rw-rw-r-- M 117869 a sys 12 Nov 14 22:50 page.gmi --rw-rw-r-- M 117869 a sys 17382 Nov 14 22:50 wikifs.tgz :; cat about WARNING: This is only trivially tested. There is at least one known crash when referencing missing templates. No data loss has been observed, but exercise caution. This is a modification of Plan 9's wikifs(4) to add generation of gemtext from the wiki entries. Most of the formatting is the obvious conversion. Links in the wiki entry are given an anchor in the text [like so], and all referenced links are output in gemtext format at the end of the entry, footnote-style. It would be preferable to have these output at the end of the section of the wiki document in which they appear, but that has not been done (yet?). The index.gmi file for each entry is generated using the page.gmi template, analogously to how index.html and index.txt are done, from your wiki root (typically /sys/lib/wiki). The man page has not yet been updated. :;