X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=include%2Fmarkdown.h;h=d1b81ac3ca5c03fac0efac8fd94c6964bbc1512c;hb=5f369c826ac0ca4989892b3691f66d0ac73679f3;hp=655d8f34d0670d905c3e96962538bccf3659d0ad;hpb=b416f18295f7edcb5474396a6b26a59fd5ddb1f5;p=smdp.git diff --git a/include/markdown.h b/include/markdown.h index 655d8f3..d1b81ac 100644 --- a/include/markdown.h +++ b/include/markdown.h @@ -2,7 +2,24 @@ #define MARKDOWN_H /* - * A implementation of markdown objects. + * An implementation of markdown objects. + * Copyright (C) 2014 Michael Goehler + * + * This file is part of mdp. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * * * enum: line_bitmask which enumerates markdown formating bits * @@ -23,10 +40,17 @@ enum line_bitmask { IS_H1, + IS_H1_ATX, IS_H2, + IS_H2_ATX, IS_QUOTE, IS_CODE, IS_HR, + IS_UNORDERED_LIST_1, + IS_UNORDERED_LIST_2, + IS_UNORDERED_LIST_3, + IS_UNORDERED_LIST_EXT, + IS_CENTER, IS_EMPTY };