on master help sign in
Fix grammar
6810174Dénes Harmath
libraries/Text.elm+4−5
@@ -1,4 +1,3 @@
1−
2module Text where
1module Text where
3
2
4{-| Functions for displaying text
3{-| Functions for displaying text
@@ -31,7 +30,7 @@ toText : String -> Text
31toText = Native.Text.toText
30toText = Native.Text.toText
32
31
33{-| Set the typeface of some text. The first argument should be a comma
32{-| Set the typeface of some text. The first argument should be a comma
34−separated listing of the desired typefaces
33+separated listing of the desired typefaces:
35
34
36 "helvetica, arial, sans-serif"
35 "helvetica, arial, sans-serif"
37
36
@@ -104,12 +103,12 @@ plainText = Native.Text.plainText
104markdown : Element
103markdown : Element
105markdown = Native.Text.markdown
104markdown = Native.Text.markdown
106
105
107−{-| Convert anything to it's textual representation and make it displayable in
106+{-| Convert anything to its textual representation and make it displayable in
108−browser
107+browser:
109
108
110 asText == text . monospace . show
109 asText == text . monospace . show
111
110
112Excellent for debugging.
111Excellent for debugging.
113-}
112-}
114asText : a -> Element
113asText : a -> Element
115−asText = Native.Text.asText
114+asText = Native.Text.asText