Skip to content

Commit

Permalink
Update examples in README.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexjeffburke committed Jul 12, 2020
1 parent 47aadd5 commit 3d12a39
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ console.log(renderer.render(123)); // cxxiii
```

```output
cxxiii
'cxxiii'
```

The `@counter-system` ones are created by their `system` name and accept an
Expand All @@ -78,7 +78,7 @@ console.log(renderer.render(123)); // XXXXZ
```

```output
cxxiii
'XXXXZ'
```

The name (system) can also be passed as a separate property instead of the name
Expand All @@ -94,7 +94,7 @@ console.log(renderer.render(123)); // XXXXZ
```

```output
XXXXZ
'XXXXZ'
```

They also support a `fallback` option to be used when the value is out of range.
Expand All @@ -111,8 +111,8 @@ console.log(renderer.render(4)); // •
```

```output
Z
'Z'
'•'
```

The `fallback` option can also be passed as another renderer instance, or "lazily" as a function that returns either a `list-style-type` name or a renderer.

0 comments on commit 3d12a39

Please sign in to comment.