X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;ds=sidebyside;f=include%2Fparser.h;h=f7e684727c7aabd06212a4a46733316d50ea0d5f;hb=32639324a5ed0b1678d1066680ed6d2e469ae271;hp=14bb2322c598ffdcce18cd807b4492b01456605a;hpb=3b1d8241131284a13ca059f399d7113075daf351;p=smdp.git diff --git a/include/parser.h b/include/parser.h index 14bb232..f7e6847 100644 --- a/include/parser.h +++ b/include/parser.h @@ -3,9 +3,12 @@ #include "markdown.h" -document_t *markdown_load(FILE *input); +#define EXPAND_TABS 4 +#define CODE_INDENT 4 + +deck_t *markdown_load(FILE *input); int markdown_analyse(cstring_t *text); -void markdown_debug(document_t *doc, int debug); +void markdown_debug(deck_t *deck, int debug); int is_utf8(char ch); int length_utf8(char ch); int next_nonblank(cstring_t *text, int i);