From 212188e391daabe6492f2b49e7e689b9aecb138b Mon Sep 17 00:00:00 2001 From: Volpeon Date: Tue, 23 Nov 2021 21:28:02 +0100 Subject: Update --- filters/macros.lua | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 filters/macros.lua (limited to 'filters') diff --git a/filters/macros.lua b/filters/macros.lua new file mode 100644 index 0000000..9e9d954 --- /dev/null +++ b/filters/macros.lua @@ -0,0 +1,8 @@ +function Div(el) + if el.classes:includes("note") then + el.classes = pandoc.List() + el.classes:insert("c-note") + end + + return el +end -- cgit v1.2.3-70-g09d2