Skip to content

Commit

Permalink
Merge pull request #71 from champkeh/master
Browse files Browse the repository at this point in the history
fix: Chinese numbering format mapping
  • Loading branch information
VolodymyrBaydalka authored Jul 4, 2023
2 parents 6e11c4c + 3cbc8d0 commit eb787e6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/html-renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1190,6 +1190,14 @@ section.${c}>article { margin-bottom: auto; }
"upperLetter": "upper-alpha",
"lowerRoman": "lower-roman",
"upperRoman": "upper-roman",
"chineseCounting": "simp-chinese-informal",
"chineseCountingThousand": "simp-chinese-informal",
"chineseLegalSimplified": "simp-chinese-formal", // 中文大写
"ideographTraditional": "cjk-heavenly-stem", // 十天干
"ideographZodiac": "cjk-earthly-branch", // 十二地支
// "ordinal": "", // 1st, 2nd, 3rd,...
// "cardinalText": "", // One, Two, Three,...
"decimalZero": "decimal-leading-zero", // 01,02,03,...
};

return mapping[format] || format;
Expand Down

0 comments on commit eb787e6

Please sign in to comment.