Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mehdisadeghi/jekyll-hinduarabic

Jekyll plugin to convert European numerals to their corresponding Hindu-Arabic form.
https://github.com/mehdisadeghi/jekyll-hinduarabic

converts-english-numerals filter hindu-arabic jekyll jekyll-plugin persian ruby

Last synced: 3 months ago
JSON representation

Jekyll plugin to convert European numerals to their corresponding Hindu-Arabic form.

Awesome Lists containing this project

README

        

jekyll-hinduarabic [![Gem Version](https://badge.fury.io/rb/jekyll-hinduarabic.svg)](https://badge.fury.io/rb/jekyll-hinduarabic)
============

This is a Liquid filter for Jekyll which converts English numerals to the corresponding [Hindu-Arabic](http://en.wikipedia.org/wiki/Hindu%E2%80%93Arabic_numeral_system) form. Currently Jekyll provides no way to produce these form of numbers i.e. ۱۲۳۴۵۶۷۸۹۰ instead of 1234567890.

# Installation

Append `gem jekyll-hinduarabic` to the `plugins` vector (formerly know as _gems_) of your website's __config.yml_ file. You can also put the _jekyll-hinduarabic.rb_ file inside _plugins_ directory of your website. You can install it from Rubygems too:

gem install jekyll-hinduarabic

# Usage
Use it as a _Liquid_ filter inside any Jekyll template:

{% page.date | habify %}

# License
MIT