From 26a83a8ae8bbafea35bc0b56ed3dfbbe28596840 Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Sun, 28 Nov 2021 17:51:29 +0100 Subject: [PATCH] Add pandoc '
' filter --- .wiki/filters/linebreak.lua | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .wiki/filters/linebreak.lua diff --git a/.wiki/filters/linebreak.lua b/.wiki/filters/linebreak.lua new file mode 100644 index 0000000..99d82d6 --- /dev/null +++ b/.wiki/filters/linebreak.lua @@ -0,0 +1,5 @@ +function RawInline (el) + if el.format:match '^html' and el.text:match '%
' then + return pandoc.LineBreak() + end +end