X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=include%2Fparser.h;h=f7e684727c7aabd06212a4a46733316d50ea0d5f;hb=32639324a5ed0b1678d1066680ed6d2e469ae271;hp=091c3d5aba6b2cb7fa4afc5d11483cad7feea22e;hpb=f2bc670605162224119269271f7c07459c9de0a8;p=smdp.git diff --git a/include/parser.h b/include/parser.h index 091c3d5..f7e6847 100644 --- a/include/parser.h +++ b/include/parser.h @@ -3,8 +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(deck_t *deck, int debug); int is_utf8(char ch); int length_utf8(char ch); int next_nonblank(cstring_t *text, int i);