Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions 3rdparty/peg-markdown-highlight/pmh_definitions.h
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* PEG Markdown Highlight
* Copyright 2011-2012 Ali Rantakari -- http://hasseg.org
* Copyright 2011-2016 Ali Rantakari -- http://hasseg.org
* Licensed under the GPL2+ and MIT licenses (see LICENSE for more info).
*
* pmh_definitions.h
Expand Down Expand Up @@ -52,6 +52,7 @@ typedef enum
pmh_HRULE, /**< Horizontal rule */
pmh_REFERENCE, /**< Reference */
pmh_NOTE, /**< Note */
pmh_STRIKE, /**< Strike-through */

// Utility types used by the parser itself:

Expand Down Expand Up @@ -83,7 +84,7 @@ typedef enum
* \brief Number of types in pmh_element_type.
* \sa pmh_element_type
*/
#define pmh_NUM_TYPES 30
#define pmh_NUM_TYPES 31

/**
* \brief Number of *language element* types in pmh_element_type.
Expand Down Expand Up @@ -115,8 +116,10 @@ typedef struct pmh_Element pmh_element;
enum pmh_extensions
{
pmh_EXT_NONE = 0, /**< No extensions */
pmh_EXT_NOTES = (1 << 0) /**< A footnote syntax like that of Pandoc or
PHP Markdown Extra */
pmh_EXT_NOTES = (1 << 0), /**< Footnote syntax:
http://pandoc.org/README.html#footnotes */
pmh_EXT_STRIKE = (1 << 1) /**< Strike-through syntax:
http://pandoc.org/README.html#strikeout */
};

#endif
Loading