Skip to content

Commit

Permalink
Update spelling-out-input-text.mdx (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
ecdeng authored Jan 17, 2025
1 parent 22546c6 commit 5fce923
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ This is particularly useful for pronouncing long numbers or identifiers, such as
My phone number is <spell>(123) 456-7890</spell> and my credit card is <spell>1234-5678-9012-3456</spell>.
```

If you want to spell out numbers or identifiers and have planned breaks between the generations (e.g. taking a break between the area code of a phone number and the rest of that number), you can combine `<break>` and `<spell tags>`.
If you want to spell out numbers or identifiers and have planned breaks between the generations (e.g. taking a break between the area code of a phone number and the rest of that number), you can combine `<break>` and `<spell tags>`. These tags are considered 1 character and do not need to be separated with adjacent text using a space -- to save credits you can remove spaces around break and spell tags.

```xml
My phone number is <spell>(123)</spell> <break time="200ms"/> <spell>4712177</spell> and my credit card number is <spell>1234</spell> <break time="200ms"/> <spell>5678</spell> <break time="200ms"/> <spell>6347</spell> <break time="200ms"/> <spell>4537</spell>.
My phone number is <spell>(123)</spell><break time="200ms"/><spell>4712177</spell> and my credit card number is <spell>1234</spell><break time="200ms"/><spell>5678</spell><break time="200ms"/><spell>6347</spell><break time="200ms"/><spell>4537</spell>.
```

0 comments on commit 5fce923

Please sign in to comment.