X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=include%2Fmarkdown.h;h=7a435a8cfbf32dd9ab2f35b5927fd1e4af08936a;hb=354cf2e07ccd0d7900f96bffc279093997cbe203;hp=f38a6469e593ff62c8ffb998736f481e08873172;hpb=3ee3024232ec7ce4327293afd3f259c0179956ac;p=smdp.git diff --git a/include/markdown.h b/include/markdown.h index f38a646..7a435a8 100644 --- a/include/markdown.h +++ b/include/markdown.h @@ -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. * @@ -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,7 @@ typedef struct _slide_t { struct _slide_t *prev; struct _slide_t *next; int lines; + int stop; } slide_t; typedef struct _deck_t {