Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
genNamePre :: MonadState Int m => Text -> m Text Source #
sometimes a number doesn't work properly in html (or js???), and an alpha prefix seems to help
libCss :: Text -> Html () Source #
Convert a link to a css library from text to html. >>> libCss "https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet"
libJs :: Text -> Html () Source #
Convert a link to a js library from text to html. >>> libJs "https://code.jquery.com/jquery-3.3.1.slim.min.js" src="https://code.jquery.com/jquery-3.3.1.slim.min.js"/script