Persianjs HandleBars Plugin
##How to use
incluede persianjs-handlebarsjs-plugin.js
after persian.js
and Handlebars.js
###Functions
Used for converting Arabic characters to Persian.
Example:
{{arabicChar 'علی'}} //returns: علی
Used for converting Arabic numbers to Persian.
Example:
{{arabicNumber "٣٤٥"}} //returns: ۳۴۵
Used for converting English numbers to Persian.
Example:
{{englishNumber "345"}} //returns: ۳۴۵
###4)Using all function in one function
You can use all of the functions together with one PersianJs Handlebars Plugin
Example:
{{toPersian "علي٤2465"}} //returns: علی۴۲۴۶۵