Or paste the counter-style rule here:
Show original numbers in results:
This page allows you to convert ASCII numbers into other representations that can be used for counters for ordered lists, headings, figures, etc. It uses the algorithms described by CSS3 Counter Styles and Predefined Counter Styles, but doesn't yet cover negative numbers, and outside the ranges defined in Counter Styles no fallback is applied other than to ASCII digits.
This is still a work in progress: more styles will be added as I get the time.
For more information about what's going on here, see CSS3 Counter Styles. Basically, this app converts a sequence of ASCII numbers to counters that could be based on numeric, alphabetic, additive, or fixed principles. It uses the names of styles defined in the spec.
Those counters are typically used with numbered lists (
ol in HTML), or for numbering section headers, footnotes, etc. Negative numbers are not expected for any style other than additive. This tool doesn't currently handle negative numbers for additive systems either.
Numeric styles just substitute other characters for the digits 0-9.
Alphabetic styles produce counters like a, b, c ... z, aa, ab ... etc.
Additive styles use a more complicated method to build counters in a way similar to the Roman numbering, i, ii, iii, iv, v, ... x, xi ... etc
Fixed styles are just a single sequence of characters, and therefore the range is quite limited. For example, there are only twenty filled-circle numbers in Unicode, and so you only see a result for numbers between 1 and 20 (eg. ❶, ❷, ❸, ❹ ... ⓳, ⓴).