<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@jsamr/counter-style](./counter-style.md) &gt; [CounterStyleRenderer](./counter-style.counterstylerenderer.md) &gt; [withRtl](./counter-style.counterstylerenderer.withrtl.md)

## CounterStyleRenderer.withRtl() method

Create a new renderer which renders Right-to-left.

<b>Signature:</b>

```typescript
withRtl(options?: RtlOptions): CounterStyleRenderer;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  options | [RtlOptions](./counter-style.rtloptions.md) |  |

<b>Returns:</b>

[CounterStyleRenderer](./counter-style.counterstylerenderer.md)

## Remarks

By default: - The order of prefix, counter representation and suffix will be reversed when rendering marker. - The letter ordering of prefix and suffix will be reversed when rendering marker, prefix and suffix. - The letter ordering of counter representation will not be reversed when rendering marker and counter.

See [RtlOptions](./counter-style.rtloptions.md)<!-- -->.

