Fix typos
[smdp.git] / include / markdown.h
index f38a646..d353896 100644 (file)
@@ -3,7 +3,7 @@
 
 /*
  * An implementation of markdown objects.
- * Copyright (C) 2014 Michael Goehler
+ * Copyright (C) 2018 Michael Goehler
  *
  * This file is part of mdp.
  *
@@ -21,7 +21,7 @@
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  *
  *
- * enum: line_bitmask which enumerates markdown formating bits
+ * enum: line_bitmask which enumerates markdown formatting bits
  *
  * struct: deck_t the root object representing a deck of slides
  * struct: slide_t a linked list element of type slide contained in a deck
@@ -47,12 +47,15 @@ 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,
     IS_UNORDERED_LIST_3,
     IS_UNORDERED_LIST_EXT,
     IS_CENTER,
+    IS_STOP,
     IS_EMPTY
 };
 
@@ -70,6 +73,8 @@ typedef struct _slide_t {
     struct _slide_t *prev;
     struct _slide_t *next;
     int lines;
+    int stop;
+    int lines_consumed;
 } slide_t;
 
 typedef struct _deck_t {