···1+--[[
2+Converts some HTML elements commonly used in Markdown to corresponding DocBook elements.
3+]]
4+5+function RawInline(elem)
6+ if elem.format == 'html' and elem.text == '<kbd>' then
7+ return pandoc.RawInline('docbook', '<keycap>')
8+ elseif elem.format == 'html' and elem.text == '</kbd>' then
9+ return pandoc.RawInline('docbook', '</keycap>')
10+ end
11+end