commit a5e01c30f7ae52f538c376c7a88c00e5462a904d
parent 2c12d4d6614fb9c5465cb98ad99af6a095d6201d
Author: Alex Balgavy <alex@balgavy.eu>
Date: Sun, 1 Nov 2020 00:24:49 +0100
Vimwiki sed conversion script includes both file and local
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/from_vimwiki.sed b/from_vimwiki.sed
@@ -7,6 +7,9 @@
+++
}
s/{{local:\([^|]*\)|\([^}]*\)}}/![\2](\1)/
+s/{{file:\([^|]*\)|\([^}]*\)}}/![\2](\1)/
+s/{{file:\([^|]*\)}}/![image](\1)/
+s/{{local:\([^|]*\)}}/![image](\1)/
s/\[\[\([^|]*\)|\([^\]]*\)\]\]/[\2](\1)/
s/^= \([^=]*\) =$/# \1/
s/^== \([^=]*\) ==$/## \1/