diff options
author | Volpeon <git@volpeon.ink> | 2023-01-10 15:57:25 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2023-01-10 15:57:25 +0100 |
commit | 18b1bce0cbd23aa0f7fa5e883ba079e547554ad3 (patch) | |
tree | 91d8454d409eec74805829f4304592f8baa0f716 /filters | |
parent | Improved list page header (diff) | |
download | volpeon.ink-18b1bce0cbd23aa0f7fa5e883ba079e547554ad3.tar.gz volpeon.ink-18b1bce0cbd23aa0f7fa5e883ba079e547554ad3.tar.bz2 volpeon.ink-18b1bce0cbd23aa0f7fa5e883ba079e547554ad3.zip |
Updated headings
Diffstat (limited to 'filters')
-rw-r--r-- | filters/headers.lua | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/filters/headers.lua b/filters/headers.lua deleted file mode 100644 index ea9cde6..0000000 --- a/filters/headers.lua +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | function Header(el) | ||
2 | if el.level <= 3 then | ||
3 | local newchildren = pandoc.List() | ||
4 | newchildren:insert(pandoc.Span(el.content, { class = 's-headings__primary' })) | ||
5 | el.content = newchildren | ||
6 | end | ||
7 | |||
8 | return el | ||
9 | end | ||