yesod-markdown alternatives and similar packages
Based on the "yesod" category.
Alternatively, view yesod-markdown alternatives based on common mentions on social networks and blogs.
-
yesod-dsl
A domain specific language and a code generator desined to create RESTful services for managing an RDBMS with Yesod web framework and Persistent. -
yesod-raml
Generate Yesod framework route definitions, documentaiton, mock-handler, and more from your RAML spec. -
yesod-datatables
Routines for implementing server-side processing for DataTables (jQuery grid) in Haskell -
yesod-auth-hmac-keccak
DISCONTINUED. An account authentication plugin for yesod with encrypted token transfer.
InfluxDB - Purpose built for real-time analytics at any scale.
Do you think we are missing an alternative of yesod-markdown or a related project?
README
Yesod Markdown
A small wrapper over Pandoc's powerful Markdown -> Html
support, with
usage tailored for Yesod.
Usage
getPageR :: FilePath -> Handler RepHtml
getPageR fp = do
content <- liftIO
$ fmap markdownToHtml
$ markdownFromFile fp
defaultLayout $ do
[shamlet|
<div class="content">
#{content}
|]
The default extensions are minimal, you can specify you're preferred
extensions with markdownToHtmlWithExtensions
:
import Text.Pandoc.Extensions (githubMarkdownExtensions)
getPageR :: FilePath -> Handler RepHtml
getPageR fp = do
content <- liftIO
$ fmap (markdownToHtmlWithExtensions githubMarkdownExtensions)
$ markdownFromFile fp
defaultLayout $ do
[shamlet|
<div class="content">
#{content}
|]
For more information, see the haddocks.
Developing & Tests
stack setup
stack build --pedantic --test
[CHANGELOG](./CHANGELOG.md) | [LICENSE](./LICENSE)
*Note that all licence references and agreements mentioned in the yesod-markdown README section above
are relevant to that project's source code only.