3&$M      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLSafe MNOPQRSTUVWXYNTUVWXY MNOPQRSTUVWXYNone0 Rendering and parsing options.(Sanitize raw HTML, link/image attributes)Allow raw HTML (if false it gets escaped)'Preserve hard line breaks in the source'Print container structure for debugging Inline elements."Simple representation of HTML tag. $Attributes for fenced code blocks. "+ is the first word of the attribute line, # is the rest.$Block-level elements.,.Structured representation of a document. The ) affect how the document is rendered by toHtml..  !"#$%&'()*+,-.-  !"#$(%&')*+,-.,-$%&'()*+ !"# .   !"#$%&'()*+,-.Safe5Z[\]^_`abcdefghijklmnopqrstuvwxyz{|}~"Zdefgijmnoprstuvwxyz{|}~+Z[\]^_`abcdefghijklmnopqrstuvwxyz{|}~i5SafeNone*)NoneA4Parses the input as a markdown document. Note that , is an instance of ToMarkup&, so the document can be converted to Html using toHtml . A simple  to Html filter would be EmarkdownToHtml :: Text -> Html markdownToHtml = toHtml . markdown def?ABAA' ABNoneGRender a markdown document as . (This can be turned into a  or  ByteString using a renderer from the  blaze-html library.)GHI GHIGHIGHI NoneJApply a transformation bottom-up to every node of a parsed document. This can be used, for example, to transform specially marked code blocks to highlighted code or images. Here is a simple example that promotes the levels of headers: promoteHeaders :: Doc -> Doc promoteHeaders = walk promoteHeader where promoteHeader (Header n ils) = Header (n+1) ils promoteHeader x = xKMonadic version of J.JKL1  !"#$(%&')*+,-AJKAJKJKL     !"#$%&'()**+,-./01234556789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abbcddefghhiijklmnopqrstuvwxyz{|}~     )cheapskate-0.1.0.5-9LtY5qcIMVd9o0Itte0Sjm CheapskateCheapskate.TypesCheapskate.ParseCheapskate.HtmlPaths_cheapskateCheapskate.ParserCombinatorsCheapskate.UtilCheapskate.Inlines1data-default-class-0.1.2.0-FYQpjIylblBDctdkHAFeXAData.Default.ClassdefOptionssanitize allowRawHtmlpreserveHardBreaksdebug ReferenceMapInlinesInlineStrSpace SoftBreak LineBreakEmphStrongCodeLinkImageEntityRawHtmlBlocks HtmlTagTypeOpeningClosing SelfClosing NumWrapperPeriodFollowingParenFollowingListTypeBulletNumberedCodeAttrcodeLangcodeInfoBlockParaHeader BlockquoteList CodeBlock HtmlBlockHRuleDoc$fDefaultOptions$fShowCodeAttr$fDataCodeAttr$fEqNumWrapper$fShowNumWrapper$fDataNumWrapper $fEqListType$fShowListType$fDataListType$fShowHtmlTagType$fDataHtmlTagType $fShowInline $fDataInline $fShowBlock $fDataBlock $fShowOptions $fDataOptions $fShowDoc $fDataDocmarkdown$fShowContainer$fEqContainerType$fShowContainerType $fShowLeaf $fShowElt renderDoc renderBlocks renderInlineswalkwalkM $fToMarkupDoccatchIOversionbindirlibdirdatadir libexecdir sysconfdir getBinDir getLibDir getDataDir getLibexecDir getSysconfDirgetDataFileNameParser evalParser ParserStatesubjectpositionlastChar ParseErrorPositionlinecolumnadvanceparsefailuresuccesssatisfypeekChar peekLastCharnotAfter charClassinClass notInClass endOfInputcharanyChar getPosition setPosition takeWhiletakeTill takeWhile1takeTextskip skipWhilestringscan lookAhead notFollowedByoptionmany1manyTillskipMany skipMany1count$fMonadPlusParser $fMonadParser$fAlternativeParser$fApplicativeParser$fFunctorParser$fShowPositionScanner joinLines tabFilter isWhitespace isEscapablenormalizeReferencescanIndentSpacescanSpacesToColumnscanNonindentSpacescanChar scanBlankline scanSpacesscanSpnlnfbnfbCharupToCountChars OpenParenspHtmlTagpQuoted pHtmlComment pLinkLabelpLinkUrl pLinkTitle pReferencepEscapedpSatisfy parseInlinespInlinepSpaceisAsciiAlphaNum pAsciiStrpSymschemes schemeSetpUri uriScanner pEnclosuresinglepOnepTwopThreepCodepCode'pLink pInlineLinklookupLinkReferencepReferenceLinkpImage linkToImagepEntity pCharEntity pDecEntity pHexEntitypRawHtml pAutolinkautoLink emailLink#text-1.2.2.1-9Yh8rJoh8fO2JMLWffT3QsData.Text.InternalText ContainerMLeafTextLine BlankLine ATXHeader SetextHeaderRule ContainerTypeDocument BlockQuoteListItem FencedCode IndentedCode RawHtmlBlock Reference markerColumnpaddinglistType startColumnfenceinfo Container containerTypechildrenEltCL LineNumberContainerStacknestshowEltcontainerContinuecontainerStartverbatimContainerStart closeStackcloseContaineraddLeaf addContainerprocessDocument processElts extractText processLines processLinetryOpenContainerstryNewContainerstextLineOrBlankleaf scanReferencescanBlockquoteStartparseAtxHeaderStartparseSetextHeaderLine scanHRuleLineparseCodeFenceparseHtmlBlockStart blockHtmlTagsparseListMarkerlistMarkerWidth parseBulletparseListNumber)blaze-html-0.8.1.2-EQcMcRytfAYLVlu6sIj0XGText.Blaze.HtmlHtmltoValue' gentleEscape