blob: 81968ad2f8f7fb3507945f5722626ae8105748cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
-- filters to create the pandoc man page from MANUAL.txt
-- capitalize headers
function Header(el)
if el.level == 1 then
return pandoc.walk_block(el, {
Str = function(el)
return pandoc.Str(el.text:upper())
end })
end
end
function Link(el)
return el.content
end
function Note(el)
return {}
end
|