3import Data.Char (toUpper)
6main = toJSONFilter capitalizeHeaders
8capitalizeHeaders :: Block -> Block
9capitalizeHeaders (Header 1 attr xs) = Header 1 attr $ walk capitalize xs
10capitalizeHeaders x = x
12capitalize :: Inline -> Inline
13capitalize (Str xs) = Str $ map toUpper xs
17capitalizeHeaderLinks :: Inline -> Inline
18capitalizeHeaderLinks (Link xs t@('#':_,_)) = Link (walk capitalize xs) t
19capitalizeHeaderLinks x = x
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list