#ifndef _MKDIO_D #define _MKDIO_D #include @SCALAR_HEADER_INCLUDE@ typedef void MMIOT; /* special flags for markdown() and mkd_text() */ enum { MKD_NOLINKS=0, /* don't do link processing, block tags */ MKD_NOIMAGE, /* don't do image processing, block */ MKD_NOPANTS, /* don't run smartypants() */ MKD_NOHTML, /* don't allow raw html through AT ALL */ MKD_NORMAL_LISTITEM, /* disable github-style checkbox lists */ MKD_TAGTEXT, /* process text inside an html tag */ MKD_NO_EXT, /* don't allow pseudo-protocols */ #define MKD_NOEXT MKD_NO_EXT MKD_EXPLICITLIST, /* don't combine numbered/bulletted lists */ MKD_CDATA, /* generate code for xml ![CDATA[...]] */ MKD_NOSUPERSCRIPT, /* no A^B */ MKD_STRICT, /* conform to Markdown standard as implemented in Markdown.pl */ MKD_NOTABLES, /* disallow tables */ MKD_NOSTRIKETHROUGH, /* forbid ~~strikethrough~~ */ MKD_1_COMPAT, /* compatibility with MarkdownTest_1.0 */ MKD_TOC, /* do table-of-contents processing */ MKD_AUTOLINK, /* make http://foo.com link even without <>s */ MKD_NOHEADER, /* don't process header blocks */ MKD_TABSTOP, /* expand tabs to 4 spaces */ MKD_SAFELINK, /* paranoid check for link protocol */ MKD_NODIVQUOTE, /* forbid >%class% blocks */ MKD_NOALPHALIST, /* forbid alphabetic lists */ MKD_EXTRA_FOOTNOTE, /* enable markdown extra-style footnotes */ MKD_NOSTYLE, /* don't extract