mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 13:59:52 +08:00
peg-markdown-highlight: update for pmh_MARK
This commit is contained in:
parent
6ab85e1c1c
commit
5c7bc6d537
@ -57,6 +57,7 @@ typedef enum
|
||||
pmh_FRONTMATTER, /**< Front matter */
|
||||
pmh_DISPLAYFORMULA, /**< Math display formula */
|
||||
pmh_INLINEEQUATION, /**< Math inline equation */
|
||||
pmh_MARK, /**< HTML <mark> tag content */
|
||||
|
||||
// Utility types used by the parser itself:
|
||||
|
||||
@ -88,7 +89,7 @@ typedef enum
|
||||
* \brief Number of types in pmh_element_type.
|
||||
* \sa pmh_element_type
|
||||
*/
|
||||
#define pmh_NUM_TYPES 35
|
||||
#define pmh_NUM_TYPES 36
|
||||
|
||||
/**
|
||||
* \brief Number of *language element* types in pmh_element_type.
|
||||
@ -126,6 +127,7 @@ enum pmh_extensions
|
||||
http://pandoc.org/README.html#strikeout */
|
||||
pmh_EXT_FRONTMATTER = (1 << 2), /**< YAML meta data */
|
||||
pmh_EXT_MATH = (1 << 3), /**< Math */
|
||||
pmh_EXT_MARK = (1 << 4), /**< HTML <mark> tag content */
|
||||
};
|
||||
|
||||
#endif
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user