[Home](./index.md) > [@jsamr/counter-style](./counter-style.md) > [CounterStyleStatic](./counter-style.counterstylestatic.md) > [raw](./counter-style.counterstylestatic.raw.md) ## CounterStyleStatic.raw property Create a renderer from a formatter function. Signature: ```typescript raw: (initialCounterFormatter: InitialCounterFormatter) => CounterStyleRenderer; ``` ## Remarks The formatter function should not add decorations. Especially: - should not add negative signs. Use [CounterStyleRenderer.withNegative()](./counter-style.counterstylerenderer.withnegative.md) instead. - should not add padding. Use [CounterStyleRenderer.withPadLeft()](./counter-style.counterstylerenderer.withpadleft.md) and [CounterStyleRenderer.withPadRight()](./counter-style.counterstylerenderer.withpadright.md) instead. - should not add prefixes or suffixes. Use [CounterStyleRenderer.withPrefix()](./counter-style.counterstylerenderer.withprefix.md) and [CounterStyleRenderer.withSuffix()](./counter-style.counterstylerenderer.withsuffix.md) instead. If the formatter function doesn't cover the \[-Infinity, Infinity\] range, you must specify the scope via [CounterStyleRenderer.withRange()](./counter-style.counterstylerenderer.withrange.md).