2module Graphics.Text where
4import Native.Graphics.Text as T
7-- Convert a string into text which can be styled and displayed.
10-- Set the typeface of some text. The first argument should be a comma separated listing of the desired typefaces
11-- "helvetica, arial, sans-serif"
12-- Works the same as the CSS font-family property.
13typeface : String -> Text -> Text
15-- Switch to a monospace typeface. Good for code snippets.
16monospace : Text -> Text
18-- Make text big and noticable.
22href : String -> Text -> Text
24-- Set the height of text in \"ems\". 1em is the normal height of text. 2ems is twice that height.
25height : Float -> Text -> Text
27-- Set the color of a string.
28color : Color -> Text -> Text
36-- Draw a line above a string.
37overline : Text -> Text
40underline : Text -> Text
42-- Draw a line through a string.
43strikeThrough : Text -> Text
45-- Display justified, styled text.
46justified : Text -> Element
48-- Display centered, styled text.
49centered : Text -> Element
51-- Display right justified, styled text.
52righted : Text -> Element
54-- Display styled text.
57-- Convert anything to it's textual representation and make it displayable in browser
58-- asText = text . monospace . show
59-- Excellent for debugging
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