peg-markdown-highlight: update to c3fd99c8fe6a7041b3c01f607b602aba1aa36416

For fenced code block support.
This commit is contained in:
Le Tan 2018-07-12 20:18:24 +08:00
parent a305b6872e
commit a20d306aab
2 changed files with 671 additions and 594 deletions

View File

@ -51,9 +51,9 @@ typedef enum
pmh_HTMLBLOCK, /**< Block of HTML */ pmh_HTMLBLOCK, /**< Block of HTML */
pmh_HRULE, /**< Horizontal rule */ pmh_HRULE, /**< Horizontal rule */
pmh_REFERENCE, /**< Reference */ pmh_REFERENCE, /**< Reference */
pmh_FENCEDCODEBLOCK, /**< Fenced code block */
pmh_NOTE, /**< Note */ pmh_NOTE, /**< Note */
pmh_STRIKE, /**< Strike-through */ pmh_STRIKE, /**< Strike-through */
pmh_FRONTMATTER, /**< Front matter */ pmh_FRONTMATTER, /**< Front matter */
// Utility types used by the parser itself: // Utility types used by the parser itself:
@ -86,7 +86,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 32 #define pmh_NUM_TYPES 33
/** /**
* \brief Number of *language element* types in pmh_element_type. * \brief Number of *language element* types in pmh_element_type.

File diff suppressed because it is too large Load Diff