X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=include%2Fparser.h;h=23cd12f625ff2e668c6aa2d793203d375916aa1a;hb=4b8ad1b3b464836eca2e876dd418a8e8d87bd721;hp=d99e8e6f060a4d7638718ce014c804845a2de8e8;hpb=5ccf244654d7b94b8c88cd6158549f42453fa7b3;p=smdp.git diff --git a/include/parser.h b/include/parser.h index d99e8e6..23cd12f 100644 --- a/include/parser.h +++ b/include/parser.h @@ -45,11 +45,9 @@ #define UNORDERED_LIST_MAX_LEVEL 3 deck_t *markdown_load(FILE *input); -int markdown_analyse(cstring_t *text); +int markdown_analyse(cstring_t *text, int prev); void markdown_debug(deck_t *deck, int debug); void adjust_line_length(line_t *line); -bool is_utf8(char ch); -int length_utf8(char ch); int next_nonblank(cstring_t *text, int i); int prev_blank(cstring_t *text, int i); int next_blank(cstring_t *text, int i);