Fix grammar
This commit is contained in:
parent
71fb0a3663
commit
68101742c9
1 changed files with 4 additions and 5 deletions
|
@ -1,4 +1,3 @@
|
|||
|
||||
module Text where
|
||||
|
||||
{-| Functions for displaying text
|
||||
|
@ -31,7 +30,7 @@ toText : String -> Text
|
|||
toText = Native.Text.toText
|
||||
|
||||
{-| Set the typeface of some text. The first argument should be a comma
|
||||
separated listing of the desired typefaces
|
||||
separated listing of the desired typefaces:
|
||||
|
||||
"helvetica, arial, sans-serif"
|
||||
|
||||
|
@ -104,12 +103,12 @@ plainText = Native.Text.plainText
|
|||
markdown : Element
|
||||
markdown = Native.Text.markdown
|
||||
|
||||
{-| Convert anything to it's textual representation and make it displayable in
|
||||
browser
|
||||
{-| Convert anything to its textual representation and make it displayable in
|
||||
browser:
|
||||
|
||||
asText == text . monospace . show
|
||||
|
||||
Excellent for debugging.
|
||||
-}
|
||||
asText : a -> Element
|
||||
asText = Native.Text.asText
|
||||
asText = Native.Text.asText
|
||||
|
|
Loading…
Reference in a new issue