summaryrefslogtreecommitdiffstats
path: root/filters
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-11-23 21:28:02 +0100
committerVolpeon <git@volpeon.ink>2021-11-23 21:28:02 +0100
commit212188e391daabe6492f2b49e7e689b9aecb138b (patch)
tree1b53f8b1077f7f7ae9d82bb412456c198f214911 /filters
parentRemove automatic titlecase algorithm (diff)
downloadvolpeon.ink-212188e391daabe6492f2b49e7e689b9aecb138b.tar.gz
volpeon.ink-212188e391daabe6492f2b49e7e689b9aecb138b.tar.bz2
volpeon.ink-212188e391daabe6492f2b49e7e689b9aecb138b.zip
Update
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