pinosaur
/
smdp.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added guobin2312
[smdp.git]
/
include
/
parser.h
diff --git
a/include/parser.h
b/include/parser.h
index
7a18377
..
db95f65
100644
(file)
--- 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.
* 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) 201
5
Michael Goehler
+ * Copyright (C) 201
6
Michael Goehler
*
* This file is part of mdp.
*
*
* This file is part of mdp.
*
@@
-49,9
+49,10
@@
#define CODE_INDENT 4
#define UNORDERED_LIST_MAX_LEVEL 3
#define CODE_INDENT 4
#define UNORDERED_LIST_MAX_LEVEL 3
-deck_t *markdown_load(FILE *input);
+deck_t *markdown_load(FILE *input
, int noexpand
);
int markdown_analyse(cstring_t *text, int prev);
void markdown_debug(deck_t *deck, int debug);
int markdown_analyse(cstring_t *text, int prev);
void markdown_debug(deck_t *deck, int debug);
+void expand_character_entities(line_t *line);
void adjust_line_length(line_t *line);
int next_nonblank(cstring_t *text, int i);
int prev_blank(cstring_t *text, int i);
void adjust_line_length(line_t *line);
int next_nonblank(cstring_t *text, int i);
int prev_blank(cstring_t *text, int i);