a first draft of the ncurses viewer
[smdp.git] / include / parser.h
index 7ade17c..f7e6847 100644 (file)
@@ -3,9 +3,14 @@
 
 #include "markdown.h"
 
-document_t *markdown_load(FILE *input);
+#define EXPAND_TABS 4
+#define CODE_INDENT 4
+
+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);
 int next_blank(cstring_t *text, int i);