<!-- 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; [withSuffix](./counter-style.counterstylerenderer.withsuffix.md)

## CounterStyleRenderer.withSuffix() method

Create a new renderer which replaces or removes this renderer suffix.

See [CSS Counter Styles Level 3, Symbols after the marker: the suffix descriptor](https://www.w3.org/TR/css-counter-styles-3/#counter-style-suffix)<!-- -->.

<b>Signature:</b>

```typescript
withSuffix(suffix: string | null): CounterStyleRenderer;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  suffix | string \| null | A suffix, or <code>null</code> to remove the default suffix. |

<b>Returns:</b>

[CounterStyleRenderer](./counter-style.counterstylerenderer.md)

