X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=include%2Fmarkdown.h;h=8e33c8e56709af6ee3da01b5305c4125fb5272df;hb=75c55236b8382936bb41b4d1b11376b0e4a39c3d;hp=3a85947b6695eb12661eeb16912f700f0aede2f9;hpb=3e6d7001c4058b93281645e72ad1e223280b8589;p=smdp.git diff --git a/include/markdown.h b/include/markdown.h index 3a85947..8e33c8e 100644 --- a/include/markdown.h +++ b/include/markdown.h @@ -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. * @@ -48,6 +48,7 @@ enum line_bitmask { IS_QUOTE, IS_CODE, IS_TILDE_CODE, + IS_GFM_CODE, IS_HR, IS_UNORDERED_LIST_1, IS_UNORDERED_LIST_2, @@ -73,6 +74,7 @@ typedef struct _slide_t { struct _slide_t *next; int lines; int stop; + int lines_consumed; } slide_t; typedef struct _deck_t {