All Projects → mamal72 → rtl-md

mamal72 / rtl-md

Licence: MIT license
📝 A simple markdown to html converter which knows the direction!

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to rtl-md

materialize-rtl
RTL version of materializecss framework v1.0.0
Stars: ✭ 80 (+196.3%)
Mutual labels:  rtl, persian
Nozha-rtl-Dashboard
Nozha is a rtl / ltr Admin Panel with Dark Mode
Stars: ✭ 31 (+14.81%)
Mutual labels:  rtl, persian
Bootstrap V4 Rtl
RTL edition of bootstrap v4 for rtl languages like Farsi and Arabic
Stars: ✭ 430 (+1492.59%)
Mutual labels:  rtl, persian
easy-materialize-rtl
Simple way to set RTL for materializecss.com.
Stars: ✭ 20 (-25.93%)
Mutual labels:  rtl, persian
jekyll-theme-mehdix-rtl
A right-to-left theme for Jekyll with Jalali support and some other goodies.
Stars: ✭ 38 (+40.74%)
Mutual labels:  rtl, persian
thewhite
✒️ It's a minimal and light wordpress blog theme 🎨
Stars: ✭ 87 (+222.22%)
Mutual labels:  rtl, persian
Bootstrap Rtl
Bootstrap RTL Standard 3 and 4
Stars: ✭ 106 (+292.59%)
Mutual labels:  rtl, persian
React Datepicker
An easily internationalizable, accessible, mobile-friendly datepicker library for the web, build with styled-components.
Stars: ✭ 252 (+833.33%)
Mutual labels:  rtl
iranian-calendar-events
Fetch Iranian calendar events (Jalali, Hijri and Gregorian) from time.ir website
Stars: ✭ 28 (+3.7%)
Mutual labels:  persian
Axi
AXI SystemVerilog synthesizable IP modules and verification infrastructure for high-performance on-chip communication
Stars: ✭ 227 (+740.74%)
Mutual labels:  rtl
Awesome Learning
Awesome Learning - Learn JavaScript and Front-End Fundamentals at your own pace
Stars: ✭ 216 (+700%)
Mutual labels:  rtl
SpinalDev
Docker Development Environment for SpinalHDL
Stars: ✭ 17 (-37.04%)
Mutual labels:  rtl
persiantools
Jalali date and datetime with other tools
Stars: ✭ 101 (+274.07%)
Mutual labels:  persian
Framevuerk
Fast, Responsive, Multi Language, Both Direction Support and Configurable UI Framework based on Vue.js.
Stars: ✭ 252 (+833.33%)
Mutual labels:  rtl
cnn open
A hardware implementation of CNN, written by Verilog and synthesized on FPGA
Stars: ✭ 157 (+481.48%)
Mutual labels:  rtl
Riscv Mini
Simple RISC-V 3-stage Pipeline in Chisel
Stars: ✭ 221 (+718.52%)
Mutual labels:  rtl
PyChip-py-hcl
A Hardware Construct Language
Stars: ✭ 36 (+33.33%)
Mutual labels:  rtl
awesome-persian-youtubers
لیست یوتیوبرهای فارسی‌زبان
Stars: ✭ 52 (+92.59%)
Mutual labels:  persian
pholiday
a persian calendar holidays library for javascript
Stars: ✭ 38 (+40.74%)
Mutual labels:  persian
perke
A keyphrase extractor for Persian
Stars: ✭ 60 (+122.22%)
Mutual labels:  persian

Build Status npm version

rtl-md

rtl-md is a markdown parser with RTL languages detection. This module converts the Markdown to HTML and fixes the elements direction based on the contents of them. This module made in order to help users publish their RTL markdown contents easily, without having to write boring HTML. Now, I can write and publish my README.md files in RTL languages too just like LTR languages!

Installation

npm install --save rtl-md

Usage

import rmd from 'rtl-md';
const md = `# Some Markdown!
## Some english ltr stuff here and then, some rtl maybe.

بنی آدم اعضای یکدیگرند

که در آفرینش ز یک گوهرند

[سعدی شیرازی](https://en.wikiquote.org/wiki/Saadi)
`
const html = rmd(md);

// The output
/*
<h1 id="some-markdown-">Some Markdown!</h1>
<h2 id="some-english-ltr-stuff-here-and-then-some-rtl-maybe-">Some english ltr stuff here and then, some rtl maybe.</h2>
<p dir="rtl">بنی آدم اعضای یکدیگرند</p>
<p dir="rtl">که در آفرینش ز یک گوهرند</p>
<p dir="rtl"><a href="https://en.wikiquote.org/wiki/Saadi">سعدی شیرازی</a></p>
*/

Ideas || Issues

Just fill an issue and describe it. I'll check it ASAP!

Contribution

You can fork the repository, improve or fix some part of it and then send the pull requests back if you want to see them here. I really appreciate that. ❤️

Remember to lint your code before sending pull requests. Run the Grunt lint task with the following command and fix the lint errors if you get any.

grunt lint
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].