소스 검색

peg-markdown-highlight: update for pmh_MARK

Le Tan 7 년 전
부모
커밋
5c7bc6d537
2개의 변경된 파일2598개의 추가작업 그리고 2507개의 파일을 삭제
  1. 3 1
      peg-highlight/pmh_definitions.h
  2. 2595 2506
      peg-highlight/pmh_parser.c

+ 3 - 1
peg-highlight/pmh_definitions.h

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

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2595 - 2506
peg-highlight/pmh_parser.c


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.