From d8464a9a8174ac315ba4bff2e26b7d6abbcb9de6 Mon Sep 17 00:00:00 2001 From: zica <59327276+zica87@users.noreply.github.com> Date: Fri, 26 Jan 2024 17:21:53 +0800 Subject: [PATCH] Add missing Chinese counting symbols to documentation (#3264) --- crates/typst/src/model/numbering.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/crates/typst/src/model/numbering.rs b/crates/typst/src/model/numbering.rs index 07495cbc5..4f1cc1d3c 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)`