Safe Haskell | None |
---|---|
Language | GHC2021 |
Web.Rep.Html
Description
Key generators and miscellaneous html utilities.
Synopsis
- libCss :: ByteString -> Markup
- libJs :: ByteString -> Markup
Documentation
libCss :: ByteString -> Markup Source #
Convert a link to a css library from text to html.
>>>
markdown_ Compact Html $ libCss "https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
"<link rel=\"stylesheet\" href=\"https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css\">"
libJs :: ByteString -> Markup Source #
Convert a link to a js library from text to html.
>>>
markdown_ Compact Html $ libJs "https://code.jquery.com/jquery-3.3.1.slim.min.js"
"<script src=\"https://code.jquery.com/jquery-3.3.1.slim.min.js\"></script>"