mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 13:59:52 +08:00
peg-markdown-highlight: update to c3fd99c8fe6a7041b3c01f607b602aba1aa36416
For fenced code block support.
This commit is contained in:
parent
a305b6872e
commit
a20d306aab
@ -51,13 +51,13 @@ 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:
|
||||||
|
|
||||||
// List of pmh_RAW element lists, each to be processed separately from
|
// List of pmh_RAW element lists, each to be processed separately from
|
||||||
// others (for each element in linked lists of this type, `children` points
|
// others (for each element in linked lists of this type, `children` points
|
||||||
// to a linked list of pmh_RAW elements):
|
// to a linked list of pmh_RAW elements):
|
||||||
@ -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
Loading…
x
Reference in New Issue
Block a user