From da49b31db4e9f5f11af1373a254dc6822df690f6 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Thu, 16 Jun 2022 10:55:11 +0200 Subject: Update --- filters/headers.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ function Header(el) - if el.level == 1 then + if el.level <= 3 then local newchildren = pandoc.List() newchildren:insert(pandoc.Span(el.content, { class = 's-headings__primary' })) el.content = newchildren -- cgit v1.2.3-70-g09d2