md4c-html.h

 1#ifndef MD4C_HTML_H
 2#define MD4C_HTML_H
 3
 4#include "md4c.h"
 5
 6#ifdef __cplusplus
 7    extern "C" {
 8#endif
 9
10#define MD_HTML_FLAG_DEBUG                  0x0001
11#define MD_HTML_FLAG_VERBATIM_ENTITIES      0x0002
12#define MD_HTML_FLAG_SKIP_UTF8_BOM          0x0004
13#define MD_HTML_FLAG_XHTML                  0x0008
14
15int md_html(const MD_CHAR* input, MD_SIZE input_size,
16            void (*process_output)(const MD_CHAR*, MD_SIZE, void*),
17            void* userdata, unsigned parser_flags, unsigned renderer_flags);
18
19#ifdef __cplusplus
20    }
21#endif
22
23#endif