Here they have Hebrew letters on the sides marking each verse. It starts at the beginning of the alphabet and seems to work its way up. I can't find any information on it though. Searching around results in Gematria. However, when I apply that function to my numbers I don't get the same output as that example text. How do I convert numbers to Hebrew representation like they do to number the verses?
That library produces this for numbers 1-20:
א׳ ב׳ ג׳ ד׳ ה׳ ו׳ ז׳ ח׳ ט׳ י׳ י״א י״ב י״ג י״ד ט״ו ט״ז י״ז י״ח י״ט
However, the example linked text uses this instead:
א ב ג ד ה ו ...
How do they get those values? Is it hex encoded or something? Or how is it mapping to the numbers?