-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
61 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ name: PyO3 | |
on: | ||
push: | ||
branches: | ||
- main | ||
# - main | ||
- dev | ||
tags: | ||
- 'v*' | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#set text(font: "Source Han Serif") | ||
|
||
#align(center, text(22pt, weight: "bold")[ | ||
zhconv-rs 中文简繁及地區詞轉換 | ||
]) | ||
|
||
= Usage | ||
At first: | ||
`#import "@preview/zhconv:0.0.0": zhconv` | ||
// #import "@preview/zhconv:0.0.0": zhconv | ||
#import "zhconv.typ": zhconv | ||
|
||
#box(stroke: red, | ||
`#zhconv([ | ||
柳外輕雷池上雨 | ||
雨聲滴碎荷聲 | ||
小樓西角斷虹明 | ||
闌乾倚處 | ||
待得月華生 | ||
], "zh-hans")` | ||
) | ||
|
||
#zhconv([ | ||
柳外輕雷池上雨 | ||
雨聲滴碎荷聲 | ||
小樓西角斷虹明 | ||
闌乾倚處 | ||
待得月華生 | ||
], "zh-tw") | ||
|
||
#zhconv([ | ||
柳外輕雷池上雨 \ | ||
雨聲滴碎荷聲 \ | ||
小樓西角斷虹明 \ | ||
闌干倚處 \ | ||
待得月華生 \ | ||
], "zh-hans") |