pinosaur
/
smdp.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add inline_display().
[smdp.git]
/
include
/
parser.h
diff --git
a/include/parser.h
b/include/parser.h
index
9c11b2a
..
4eb9dfe
100644
(file)
--- a/
include/parser.h
+++ b/
include/parser.h
@@
-7,7
+7,7
@@
* rules.
* Copyright (C) 2014 Michael Goehler
*
* rules.
* Copyright (C) 2014 Michael Goehler
*
- * This file is part of m
pd
.
+ * This file is part of m
dp
.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@
-35,10
+35,12
@@
*
*/
*
*/
+#include "common.h"
#include "markdown.h"
#define EXPAND_TABS 4
#define CODE_INDENT 4
#include "markdown.h"
#define EXPAND_TABS 4
#define CODE_INDENT 4
+#define UNORDERED_LIST_MAX_LEVEL 3
deck_t *markdown_load(FILE *input);
int markdown_analyse(cstring_t *text);
deck_t *markdown_load(FILE *input);
int markdown_analyse(cstring_t *text);
@@
-46,6
+48,7
@@
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);
int 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);
int next_word(cstring_t *text, int i);
int next_blank(cstring_t *text, int i);
int next_word(cstring_t *text, int i);