summaryrefslogtreecommitdiffstats
path: root/filters
diff options
context:
space:
mode:
Diffstat (limited to 'filters')
-rw-r--r--filters/macros.lua8
1 files changed, 8 insertions, 0 deletions
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 @@
1function Div(el)
2 if el.classes:includes("note") then
3 el.classes = pandoc.List()
4 el.classes:insert("c-note")
5 end
6
7 return el
8end