PEG Markdown Highlight
|
Global definitions for the parser. More...
Go to the source code of this file.
Classes | |
struct | pmh_Element |
A Language element occurrence. More... | |
Defines | |
#define | pmh_NUM_TYPES 30 |
Number of types in pmh_element_type. | |
#define | pmh_NUM_LANG_TYPES (pmh_NUM_TYPES - 6) |
Number of language element types in pmh_element_type. | |
Typedefs | |
typedef struct pmh_Element | pmh_element |
Enumerations | |
enum | pmh_element_type { pmh_LINK, pmh_AUTO_LINK_URL, pmh_AUTO_LINK_EMAIL, pmh_IMAGE, pmh_CODE, pmh_HTML, pmh_HTML_ENTITY, pmh_EMPH, pmh_STRONG, pmh_LIST_BULLET, pmh_LIST_ENUMERATOR, pmh_COMMENT, pmh_H1, pmh_H2, pmh_H3, pmh_H4, pmh_H5, pmh_H6, pmh_BLOCKQUOTE, pmh_VERBATIM, pmh_HTMLBLOCK, pmh_HRULE, pmh_REFERENCE, pmh_NOTE, pmh_RAW_LIST, pmh_RAW, pmh_EXTRA_TEXT, pmh_SEPARATOR, pmh_NO_TYPE, pmh_ALL } |
Element types. More... | |
enum | pmh_extensions { pmh_EXT_NONE = 0, pmh_EXT_NOTES = (1 << 0) } |
Bitfield enumeration of supported Markdown extensions. More... |
Global definitions for the parser.
#define pmh_NUM_LANG_TYPES (pmh_NUM_TYPES - 6) |
Number of language element types in pmh_element_type.
#define pmh_NUM_TYPES 30 |
Number of types in pmh_element_type.
enum pmh_element_type |
Element types.
The first (documented) ones are language element types.
The last (non-documented) ones are utility types used by the parser itself.
enum pmh_extensions |