Skip to content

Commit

Permalink
Add Yijing Hexagram Symbols to CJK
Browse files Browse the repository at this point in the history
reduces the number of product terms
  • Loading branch information
tats-u committed Aug 18, 2024
1 parent a5d47a6 commit 6a91450
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/utf8.c
Original file line number Diff line number Diff line change
Expand Up @@ -448,15 +448,16 @@ int cmark_utf8proc_is_CJK(int32_t uc) {
|| (uc >= 0x3040 && uc <= 0x309f) // Hiragana
|| (uc >= 0x30a0 && uc <= 0x30ff) // Katakana
|| (uc >= 0x3100 && uc <= 0x312f) // Bopomofo
|| (uc >= 0x3130 && uc <= 0x318f) // Kanbun
|| (uc >= 0x3130 && uc <= 0x318f) // Hangul Compatibility Jamo
|| (uc >= 0x3190 && uc <= 0x319f) // Kanbun
|| (uc >= 0x31a0 && uc <= 0x31bf) // Bopomofo Extended
|| (uc >= 0x31c0 && uc <= 0x31ef) // CJK Strokes
|| (uc >= 0x31f0 && uc <= 0x31ff) // Katakana Phonetic Extensions
|| (uc >= 0x3200 && uc <= 0x32ff) // Enclosed CJK Letters & Months
|| (uc >= 0x3300 && uc <= 0x33ff) // CJK Compatibility
|| (uc >= 0x3400 && */ uc <= 0x4dbf) // CJK Unified Ideographs Extension A
|| (uc >= 0x4e00 && /* uc <= 0x9fff) // CJK Unified Ideographs
|| (uc >= 0x3400 && uc <= 0x4dbf) // CJK Unified Ideographs Extension A
|| (uc >= 0x4dc0 && uc <= 0x4dff) // Yijing Hexagram Symbols
|| (uc >= 0x4e00 && uc <= 0x9fff) // CJK Unified Ideographs
|| (uc >= 0xa000 && uc <= 0xa48f) // Yi Syllables
|| (uc >= 0xa490 && */ uc <= 0xa4cf) // Yi Radicals
|| (uc >= 0xf900 && uc <= 0xfaff) // CJK Compatibility Ideographs
Expand Down
6 changes: 6 additions & 0 deletions test/cjkemphasis.txt
Original file line number Diff line number Diff line change
Expand Up @@ -631,3 +631,9 @@ Git**(注:不是GitHub)**
````````````````````````````````


```````````````````````````````` example
䷀**(乾為天)**䷁**(乾為地)**
.
<p>䷀<strong>(乾為天)</strong>䷁<strong>(乾為地)</strong></p>
````````````````````````````````

0 comments on commit 6a91450

Please sign in to comment.