summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzica <59327276+zica87@users.noreply.github.com>2024-01-26 17:21:53 +0800
committerGitHub <noreply@github.com>2024-01-26 09:21:53 +0000
commitd8464a9a8174ac315ba4bff2e26b7d6abbcb9de6 (patch)
tree0a3ae25c1c1d6cf67b580a882aa6d9b61c1d53f0
parentafc28264e8f9b495a7ec290d52275e5099be7ac8 (diff)
Add missing Chinese counting symbols to documentation (#3264)
-rw-r--r--crates/typst/src/model/numbering.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/crates/typst/src/model/numbering.rs b/crates/typst/src/model/numbering.rs
index 07495cbc..4f1cc1d3 100644
--- a/crates/typst/src/model/numbering.rs
+++ b/crates/typst/src/model/numbering.rs
@@ -37,7 +37,7 @@ pub fn numbering(
engine: &mut Engine,
/// Defines how the numbering works.
///
- /// **Counting symbols** are `1`, `a`, `A`, `i`, `I`, `あ`, `い`, `ア`, `イ`, `א`, `가`,
+ /// **Counting symbols** are `1`, `a`, `A`, `i`, `I`, `一`, `壹`, `あ`, `い`, `ア`, `イ`, `א`, `가`,
/// `ㄱ`, and `*`. They are replaced by the number in the sequence, in the
/// given case.
///
@@ -114,8 +114,9 @@ cast! {
/// How to turn a number into text.
///
-/// A pattern consists of a prefix, followed by one of `1`, `a`, `A`, `i`,
-/// `I`, `あ`, `い`, `ア`, `イ`, `א`, `가`, `ㄱ`, or `*`, and then a suffix.
+/// A pattern consists of a prefix, followed by one of
+/// `1`, `a`, `A`, `i`, `I`, `一`, `壹`, `あ`, `い`, `ア`, `イ`, `א`, `가`, `ㄱ`, or `*`,
+/// and then a suffix.
///
/// Examples of valid patterns:
/// - `1)`