Sha256: 498980a555742f36f71473bcf554cfb815c5f9e366aa80766c95789595cf6e3e
Contents?: true
Size: 251 Bytes
Versions: 2
Compression:
Stored size: 251 Bytes
Contents
-- Lua filter for Pandoc. -- Shift title levels by one (first-level become h2, second-level become h3, -- on so forth). This is to leave h1 for the main page title. function Header(el) return pandoc.Header(el.level + 1, el.content, el.attr) end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
intranet-pandoc-1.1.0 | lib/intranet/resources/filters/titles-shift-levels.lua |
intranet-pandoc-1.0.0 | lib/intranet/resources/filters/titles-shift-levels.lua |