1 #ifndef MARKDOWN_LIB_H
2 #define MARKDOWN_LIB_H
3 
4 #include <stdlib.h>
5 #include <stdio.h>
6 #include <glib.h>
7 
8 enum markdown_extensions {
9     EXT_SMART            = 0x01,
10     EXT_NOTES            = 0x02,
11     EXT_FILTER_HTML      = 0x04,
12     EXT_FILTER_STYLES    = 0x08
13 };
14 
15 enum markdown_formats {
16     HTML_FORMAT,
17     LATEX_FORMAT,
18     GROFF_MM_FORMAT,
19     ODF_FORMAT
20 };
21 
22 GString * markdown_to_g_string(char *text, int extensions, int output_format);
23 char * markdown_to_string(char *text, int extensions, int output_format);
24 
25 /* vim: set ts=4 sw=4 : */
26 #endif
27 
28