Trevixal API
    Preparing search index...

    Function formatListCounter

    • n in a counter style, as a browser would draw it: 3 is c in lower-alpha and iii in lower-roman. Outside the range a style covers (below 1, or roman past 3999) it falls back to decimal, as CSS does.

      Parameters

      • n: number
      • style: string

      Returns string