From 575278aba99139635adc3b1f9385befe57102541 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 11 Jun 2022 09:44:04 +0200 Subject: Re-implemented design via iro-design --- filters/headers.lua | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'filters') diff --git a/filters/headers.lua b/filters/headers.lua index 4e3a689..b7ab542 100644 --- a/filters/headers.lua +++ b/filters/headers.lua @@ -1,16 +1,9 @@ function Header(el) if el.level == 1 then local newchildren = pandoc.List() - newchildren:insert(pandoc.Span(el.content, { class = 's-headlines__title-inner' })) + newchildren:insert(pandoc.Span(el.content, { class = 's-headings__primary' })) el.content = newchildren end - if el.level <= 3 and el.identifier ~= '' then - el.content:insert(pandoc.Space()) - el.content:insert(pandoc.Link(pandoc.RawInline('html', - ''), - '#' .. el.identifier, nil, { class = 's-headlines__link' })) - end - return el end -- cgit v1.2.3-70-g09d2