MacBook-Pro-de-Oscar.local 2026-2-15:19:22:8
This commit is contained in:
9
.obsidian/plugins/obsidian-enhancing-export/lua/shift_headings.lua
vendored
Normal file
9
.obsidian/plugins/obsidian-enhancing-export/lua/shift_headings.lua
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
function Header(el)
|
||||
if el.level == 1 then
|
||||
return pandoc.Div(pandoc.Para(el.content), {['custom-style'] = 'Title'})
|
||||
elseif el.level > 1 then
|
||||
el.level = el.level - 1
|
||||
return el
|
||||
end
|
||||
return el
|
||||
end
|
||||
Reference in New Issue
Block a user