sundown 0.1 → 0.1.1
raw patch · 2 files changed
+7/−5 lines, 2 files
Files
- src/Text/Sundown/Renderers/Html.hs +2/−0
- sundown.cabal +5/−5
src/Text/Sundown/Renderers/Html.hs view
@@ -20,6 +20,7 @@ -- | Parses a 'ByteString' containing the markdown, returns the Html -- code.+{-# NOINLINE renderHtml #-} renderHtml :: ByteString -> Extensions -> HtmlRenderMode -> ByteString renderHtml input exts mode = unsafePerformIO $@@ -54,6 +55,7 @@ -- | Converts punctuation in Html entities, -- <http://daringfireball.net/projects/smartypants/>+{-# NOINLINE smartypants #-} smartypants :: ByteString -> ByteString smartypants input = unsafePerformIO $ do
sundown.cabal view
@@ -1,6 +1,6 @@ Cabal-version: >= 1.6 Name: sundown-Version: 0.1+Version: 0.1.1 Author: Francesco Mazzoli (f@mazzo.li) Maintainer: Francesco Mazzoli (f@mazzo.li) Build-Type: Simple@@ -10,12 +10,12 @@ Synopsis: Binding to upskirt Tested-With: GHC==7.0.2 Description:- Bindings to github's sundown, a nice C markdown library:- <https://github.com/tanoku/sundown>.+ Bindings to the github fork of sundown, a nice C markdown library:+ <https://github.com/tanoku/sundown> source-repository head type: git- location: git://github.com/rostayob/sundown.git+ location: git://github.com/rostayob/upskirt.git Library Hs-Source-Dirs: src@@ -23,7 +23,7 @@ Build-Depends: base >= 3 && < 5 , bytestring - GHC-Options: -Wall -O2+ GHC-Options: -Wall -O2 -fno-cse Extensions: ForeignFunctionInterface, EmptyDataDecls