diff options
| author | Volpeon <git@volpeon.ink> | 2022-06-16 10:55:11 +0200 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2022-06-16 10:55:11 +0200 |
| commit | da49b31db4e9f5f11af1373a254dc6822df690f6 (patch) | |
| tree | 54f070b2c3e6a4d25cad1fb7a6619c0347b362c6 /filters | |
| parent | Update (diff) | |
| download | volpeon.ink-da49b31db4e9f5f11af1373a254dc6822df690f6.tar.gz volpeon.ink-da49b31db4e9f5f11af1373a254dc6822df690f6.tar.bz2 volpeon.ink-da49b31db4e9f5f11af1373a254dc6822df690f6.zip | |
Update
Diffstat (limited to 'filters')
| -rw-r--r-- | filters/headers.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filters/headers.lua b/filters/headers.lua index b7ab542..ea9cde6 100644 --- a/filters/headers.lua +++ b/filters/headers.lua | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | function Header(el) | 1 | function Header(el) |
| 2 | if el.level == 1 then | 2 | if el.level <= 3 then |
| 3 | local newchildren = pandoc.List() | 3 | local newchildren = pandoc.List() |
| 4 | newchildren:insert(pandoc.Span(el.content, { class = 's-headings__primary' })) | 4 | newchildren:insert(pandoc.Span(el.content, { class = 's-headings__primary' })) |
| 5 | el.content = newchildren | 5 | el.content = newchildren |
