Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/mehdisadeghi/jekyll-hinduarabic
- Owner: mehdisadeghi
- License: mit
- Created: 2014-12-06T18:55:59.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2019-11-21T10:39:48.000Z (about 5 years ago)
- Last Synced: 2024-06-11T19:43:33.152Z (7 months ago)
- Topics: converts-english-numerals, filter, hindu-arabic, jekyll, jekyll-plugin, persian, ruby
- Language: Ruby
- Homepage:
- Size: 3.91 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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