1{-# LANGUAGE OverloadedStrings #-}
2module ToHtml (compileToHtml) where
6import qualified Text.Blaze.Html5 as H
7import qualified Text.Blaze.Html5.Attributes as A
10 reverse . takeWhile (/='/') . drop 1 . dropWhile (/='.') $ reverse fp
12compileToHtml :: String -> String -> String -> H.Html
13compileToHtml libLoc fileName source =
14 generateHtml libLoc (pageTitle fileName) (compileToJS source)
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