sundown 0.2 → 0.2.1
raw patch · 3 files changed
+14/−14 lines, 3 files
Files
- src/Text/Sundown/Markdown/Foreign.hsc +5/−5
- src/Text/Sundown/Renderers/Html/Foreign.hsc +7/−7
- sundown.cabal +2/−2
src/Text/Sundown/Markdown/Foreign.hsc view
@@ -17,12 +17,12 @@ #include "markdown.h" -- | A set of switches to enable or disable markdown features.-data Extensions = Extensions { extNoIntraEmphasis :: Bool+data Extensions = Extensions { extNoIntraEmphasis :: Bool -- ^ Turn off underscores insode a word does designating emphasis. , extTables :: Bool- , extFencedCode :: Bool- , extAutolink :: Bool- , extStrikethrough :: Bool- , extLaxHtmlBlocks :: Bool+ , extFencedCode :: Bool -- ^ Turns on a non-indentation form of code-blocks, by blocking off a region with ~ or \`.+ , extAutolink :: Bool -- ^ Turn things that look like URLs and email addresses into links+ , extStrikethrough :: Bool -- ^ Surround text with `~` to designate it as struck through+ , extLaxHtmlBlocks :: Bool -- ^ Allow HTML markup inside of paragraphs, instead requireing tags to be on separate lines } instance Flag Extensions where
src/Text/Sundown/Renderers/Html/Foreign.hsc view
@@ -17,16 +17,16 @@ #include "html.h" -data HtmlRenderMode = HtmlRenderMode { htmlSkipHtml :: Bool- , htmlSkipStyle :: Bool- , htmlSkipImages :: Bool- , htmlSkipLinks :: Bool+data HtmlRenderMode = HtmlRenderMode { htmlSkipHtml :: Bool -- ^ Drop in-line HTML tags from the output+ , htmlSkipStyle :: Bool -- ^ Don't add any style tags to the output+ , htmlSkipImages :: Bool -- ^ Don't include images in the output+ , htmlSkipLinks :: Bool -- ^ Don't include links in the output , htmlExpandTabs :: Bool- , htmlSafelink :: Bool- , htmlToc :: Bool+ , htmlSafelink :: Bool -- ^ Sanity check links for known URL schemes+ , htmlToc :: Bool -- ^ Include a table of contents in the output , htmlHardWrap :: Bool , htmlGithubBlockcode :: Bool- , htmlUseXhtml :: Bool+ , htmlUseXhtml :: Bool -- ^ Produce XHTML output instead of HTML }
sundown.cabal view
@@ -1,6 +1,6 @@ Cabal-version: >= 1.6 Name: sundown-Version: 0.2+Version: 0.2.1 Author: Francesco Mazzoli (f@mazzo.li) Maintainer: Francesco Mazzoli (f@mazzo.li) Build-Type: Simple@@ -15,7 +15,7 @@ source-repository head type: git- location: git://github.com/rostayob/upskirt.git+ location: git://github.com/rostayob/sundown.git Library Hs-Source-Dirs: src