From 3429bd10bf68f6eef33f887bf4b33003b108e615 Mon Sep 17 00:00:00 2001 From: Flancian <0@flancia.org> Date: Sun, 9 May 2021 19:44:59 +0200 Subject: [PATCH] [[snapshot]]: 2021-05-09 19:44:59 Affected files: defoam.md --- defoam.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/defoam.md b/defoam.md index 55a8f5bc3..5e4ed9a41 100644 --- a/defoam.md +++ b/defoam.md @@ -1,10 +1,12 @@ - I [[ditched foam]] on [[2021-05-08]] by an accumulation of paper cuts. [[foam]] is fine, but now I've seen [[obsidian]] as of May 2021 I have no qualms moving on. - This page documents what I did to get my [[foam]] garden to be fully [[obsidian]] compatible. -- I ditched [[slugs]]. That means that files that used to be named `an-example.md` are now named `an example.md`. I used to think slugs were superior but on second thought the filesystem doesn't seem like the right layer to add them. Better to encode in full unicode and then [[slugify]] at t +- I ditched [[slugs]]. That means that files that used to be named `an-example.md` are now named `an example.md`. I used to think slugs were superior but on second thought the filesystem doesn't seem like the right layer to add them. Better to encode in full unicode and then [[slugify]] at render time. + - [[pull]] [[ditched slugs]] - [[foam]] used to add autogenerated footnotes to each page for some kind of compatibility mode that never seemed to work for me: - ![[Pasted image 20210509183857.png]] -- to remove all such cruft from a [[digital garden]], you can use the following one-liner: - - `sed -i '/\[\/\/begin\]/,/\[\/end\]/d' *md` + - To remove this needless metadata from a [[digital garden]], you can use the following one-liner: + - `sed -i '/\[\/\/begin\]/,/\[\/end\]/d' *md` - sed is "native" to [[linux]] and [[os x]] but these days should be installable in windows through [[wsl]]. + - This brought the word count in my garden from ~140k to ~120k. https://twitter.com/flancian/status/1391436411501416452 \ No newline at end of file