Skip to content

Commit

Permalink
Fixed code in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew15-5 committed Jul 3, 2023
1 parent fd281ba commit f6a0922
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
```typst
#import "@preview/rubby:0.8.0": get_ruby
ruby = get_ruby(
#let ruby = get_ruby(
size: 0.5em, // Ruby font size
dy: 0pt, // Vertical offset of the ruby
pos: top, // Ruby position (top or bottom)
alignment: "center", // Ruby alignment ("center", "start", "between", "around")
delimeter: "|", // The delimeter between words
delimiter: "|", // The delimiter between words
auto_spacing: true, // Automatically add necessary space around words
)
Expand All @@ -24,7 +24,7 @@ Treat each kanji as a separate word:
If you don't want automatically wrap text with delimiter:

```typst
ruby = get_ruby(auto_spacing: false)
#let ruby = get_ruby(auto_spacing: false)
```

See also <https://github.com/rinmyo/ruby-typ/blob/main/manual.pdf>.
Expand Down

0 comments on commit f6a0922

Please sign in to comment.