mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 05:49:53 +08:00
PegMarkdownHighlight: update for GFM table
This commit is contained in:
parent
72dcb181cc
commit
ee2d4947be
@ -58,6 +58,9 @@ typedef enum
|
||||
pmh_DISPLAYFORMULA, /**< Math display formula */
|
||||
pmh_INLINEEQUATION, /**< Math inline equation */
|
||||
pmh_MARK, /**< HTML <mark> tag content */
|
||||
pmh_TABLE, /**< GFM table */
|
||||
pmh_TABLEHEADER, /**< GFM table header */
|
||||
pmh_TABLEBORDER, /**< GFM table border | */
|
||||
|
||||
// Utility types used by the parser itself:
|
||||
|
||||
@ -89,7 +92,7 @@ typedef enum
|
||||
* \brief Number of types in pmh_element_type.
|
||||
* \sa pmh_element_type
|
||||
*/
|
||||
#define pmh_NUM_TYPES 36
|
||||
#define pmh_NUM_TYPES 39
|
||||
|
||||
/**
|
||||
* \brief Number of *language element* types in pmh_element_type.
|
||||
@ -129,6 +132,7 @@ enum pmh_extensions
|
||||
pmh_EXT_MATH = (1 << 3), /**< Math */
|
||||
pmh_EXT_MARK = (1 << 4), /**< HTML <mark> tag content */
|
||||
pmh_EXT_MATH_RAW = (1 << 5), /**< Math in format \begin and \end */
|
||||
pmh_EXT_TABLE = (1 << 6), /** GFM Table */
|
||||
};
|
||||
|
||||
#endif
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user