peg-markdown-highlight: update for pmh_MARK

This commit is contained in:
Le Tan 2018-07-25 20:53:44 +08:00
parent 6ab85e1c1c
commit 5c7bc6d537
2 changed files with 2728 additions and 2637 deletions

View File

@ -57,6 +57,7 @@ typedef enum
pmh_FRONTMATTER, /**< Front matter */ pmh_FRONTMATTER, /**< Front matter */
pmh_DISPLAYFORMULA, /**< Math display formula */ pmh_DISPLAYFORMULA, /**< Math display formula */
pmh_INLINEEQUATION, /**< Math inline equation */ pmh_INLINEEQUATION, /**< Math inline equation */
pmh_MARK, /**< HTML <mark> tag content */
// Utility types used by the parser itself: // Utility types used by the parser itself:
@ -88,7 +89,7 @@ typedef enum
* \brief Number of types in pmh_element_type. * \brief Number of types in pmh_element_type.
* \sa 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. * \brief Number of *language element* types in pmh_element_type.
@ -126,6 +127,7 @@ enum pmh_extensions
http://pandoc.org/README.html#strikeout */ http://pandoc.org/README.html#strikeout */
pmh_EXT_FRONTMATTER = (1 << 2), /**< YAML meta data */ pmh_EXT_FRONTMATTER = (1 << 2), /**< YAML meta data */
pmh_EXT_MATH = (1 << 3), /**< Math */ pmh_EXT_MATH = (1 << 3), /**< Math */
pmh_EXT_MARK = (1 << 4), /**< HTML <mark> tag content */
}; };
#endif #endif

File diff suppressed because it is too large Load Diff