X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;ds=sidebyside;f=include%2Fparser.h;h=89e1a5db1837eebeb35ef3f27c75ca6991652df0;hb=f7c44aadc65ba6401992ec02f7ccb1ea4c2301ff;hp=091c3d5aba6b2cb7fa4afc5d11483cad7feea22e;hpb=f2bc670605162224119269271f7c07459c9de0a8;p=smdp.git diff --git a/include/parser.h b/include/parser.h index 091c3d5..89e1a5d 100644 --- a/include/parser.h +++ b/include/parser.h @@ -3,8 +3,9 @@ #include "markdown.h" -document_t *markdown_load(FILE *input); +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);