5import Native.Text as Native
7-- Convert a string into text which can be styled and displayed.
11-- Set the typeface of some text. The first argument should be a comma separated listing of the desired typefaces
12-- "helvetica, arial, sans-serif"
13-- Works the same as the CSS font-family property.
14typeface : String -> Text -> Text
15typeface = Native.typeface
17-- Switch to a monospace typeface. Good for code snippets.
18monospace : Text -> Text
19monospace = Native.monospace
21-- Make text big and noticable.
26link : String -> Text -> Text
29-- Set the height of text in pixels.
30height : Float -> Text -> Text
33-- Set the color of a string.
34color : Color -> Text -> Text
45-- Draw a line above a string.
46overline : Text -> Text
47overline = Native.overline
50underline : Text -> Text
51underline = Native.underline
53-- Draw a line through a string.
54strikeThrough : Text -> Text
55strikeThrough = Native.strikeThrough
57-- Display justified, styled text.
58justified : Text -> Element
59justified = Native.justified
61-- Display centered, styled text.
62centered : Text -> Element
63centered = Native.centered
65-- Display right justified, styled text.
66righted : Text -> Element
67righted = Native.righted
69-- Display styled text.
73-- Display a plain string.
74plainText : String -> Element
75plainText = Native.plainText
77-- Convert anything to it's textual representation and make it displayable in browser
79-- asText == text . monospace . show
81-- 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