5import Graphics.Element (Element, Three, Pos, ElementPrim, Properties)
7import JavaScript (JSString)
8import Native.Text as Native
12-- Convert a string into text which can be styled and displayed.
13toText : String -> Text
16-- Set the typeface of some text. The first argument should be a comma separated listing of the desired typefaces
17-- "helvetica, arial, sans-serif"
18-- Works the same as the CSS font-family property.
19typeface : String -> Text -> Text
20typeface = Native.typeface
22-- Switch to a monospace typeface. Good for code snippets.
23monospace : Text -> Text
24monospace = Native.monospace
26-- Make text big and noticable.
31link : String -> Text -> Text
34-- Set the height of text in pixels.
35height : Float -> Text -> Text
38-- Set the color of a string.
39color : Color -> Text -> Text
50-- Draw a line above a string.
51overline : Text -> Text
52overline = Native.overline
55underline : Text -> Text
56underline = Native.underline
58-- Draw a line through a string.
59strikeThrough : Text -> Text
60strikeThrough = Native.strikeThrough
62-- Display justified, styled text.
63justified : Text -> Element
64justified = Native.justified
66-- Display centered, styled text.
67centered : Text -> Element
68centered = Native.centered
70-- Display right justified, styled text.
71righted : Text -> Element
72righted = Native.righted
74-- Display styled text.
78-- Display a plain string.
79plainText : String -> Element
80plainText = Native.plainText
82-- Convert anything to it's textual representation and make it displayable in browser
84-- asText == text . monospace . show
86-- 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