bp/.pandoc/bold-code.lua

10 lines
220 B
Lua

-- Convert code to bold
function Code(el)
return pandoc.Strong(el.text)
end
-- Convert code blocks to bold and indented
function CodeBlock(el)
return pandoc.BlockQuote({pandoc.Para(pandoc.Strong(el.text))})
end