blaze-html-contrib 0.1.1 → 0.2
raw patch · 2 files changed
+2/−22 lines, 2 files
Files
- blaze-html-contrib.cabal +2/−2
- src/Text/Blaze/Markdown.hs +0/−20
blaze-html-contrib.cabal view
@@ -1,5 +1,5 @@ Name: blaze-html-contrib-Version: 0.1.1+Version: 0.2 Synopsis: Some contributions to add handy things to blaze html. Description: Some contributions to add handy things to blaze html. Please send your contributions as pull requests to @@ -16,7 +16,7 @@ Library Hs-source-dirs: src- Exposed-modules: Text.Blaze.Extra, Text.Blaze.Pagination, Text.Blaze.Markdown, Data.Pagination+ Exposed-modules: Text.Blaze.Extra, Text.Blaze.Pagination, Data.Pagination Build-depends: base > 4 && < 5, network, blaze-html,
− src/Text/Blaze/Markdown.hs
@@ -1,20 +0,0 @@-module Text.Blaze.Markdown where--import Data.Text (pack)-import Text.Blaze.Extra-import Text.Blaze.Html5 as H hiding (map)-import Text.Blaze.Html5.Attributes as A hiding (form,span,cite)-import Text.Pandoc.Parsing-import Text.Pandoc.Readers.Markdown-import Text.Pandoc.Shared-import Text.Pandoc.Writers.HTML---- | Convert a markdown string to blaze html.-markdownToHtml :: String -> Html-markdownToHtml =- preEscapedText . pack . markdownToHtmlString---- | Convert a markdown string to html string.-markdownToHtmlString :: String -> String-markdownToHtmlString =- writeHtmlString defaultWriterOptions . readMarkdown defaultParserState