Add vertical-centering of slide content
[smdp.git] / include / markdown.h
index b338154..8e33c8e 100644 (file)
@@ -3,7 +3,7 @@
 
 /*
  * An implementation of markdown objects.
- * Copyright (C) 2015 Michael Goehler
+ * Copyright (C) 2018 Michael Goehler
  *
  * This file is part of mdp.
  *
@@ -47,6 +47,8 @@ enum line_bitmask {
     IS_H2_ATX,
     IS_QUOTE,
     IS_CODE,
+    IS_TILDE_CODE,
+    IS_GFM_CODE,
     IS_HR,
     IS_UNORDERED_LIST_1,
     IS_UNORDERED_LIST_2,
@@ -72,6 +74,7 @@ typedef struct _slide_t {
     struct _slide_t *next;
     int lines;
     int stop;
+    int lines_consumed;
 } slide_t;
 
 typedef struct _deck_t {