summaryrefslogtreecommitdiffstats
path: root/filters/macros.lua
blob: 9e9d95425375c996e0240d9d3cb3d5258f3f612b (plain) (blame)
1
2
3
4
5
6
7
8
function Div(el)
    if el.classes:includes("note") then
        el.classes = pandoc.List()
        el.classes:insert("c-note")
    end

    return el
end