X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=include%2Fparser.h;h=83ce5d44514a6606a8cb3edf73a8c3a3764eba07;hb=221c74a4a0e73035645d8f6b13316347fa41cda6;hp=67d15d4b49f4ef6bbd778d773bcb760438a0b025;hpb=d8422e5afe7b7637f8412f3d27969a52d2a7f014;p=smdp.git diff --git a/include/parser.h b/include/parser.h index 67d15d4..83ce5d4 100644 --- a/include/parser.h +++ b/include/parser.h @@ -5,7 +5,7 @@ * Functions necessary to parse a file and transform its content into * a deck of slides containing lines. All based on markdown formating * rules. - * Copyright (C) 2014 Michael Goehler + * Copyright (C) 2016 Michael Goehler * * This file is part of mdp. * @@ -52,10 +52,13 @@ deck_t *markdown_load(FILE *input); int markdown_analyse(cstring_t *text, int prev); void markdown_debug(deck_t *deck, int debug); +void expand_character_entities(line_t *line); +void setup_character_entities(void); void adjust_line_length(line_t *line); int next_nonblank(cstring_t *text, int i); int prev_blank(cstring_t *text, int i); int next_blank(cstring_t *text, int i); int next_word(cstring_t *text, int i); +int next_nontilde(cstring_t *text, int i); #endif // !defined( PARSER_H )