Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to write arabic in github README file?

I need to write arabic (rtl) language in README.md file in github.
So how could I do this?

like image 558
Soheil Paper Avatar asked Apr 30 '16 17:04

Soheil Paper


2 Answers

You can't do this with markdown but you can surely do this with HTML.

<div dir="rtl">

## عنوان

### قائمة

<ul>
  <li>١. البند 1</li>
  <li>٢.البند 2</li>
  <li>٣.البند 3</li>
</ul>

</div>

If just some parts of the document need to be right-to-left:

## <div dir="rtl">عنوان</div>

### <div dir="rtl">قائمة</div>
<div dir="rtl"><ul>
  <li>١. البند 1</li>
  <li>٢.البند 2</li>
  <li>٣.البند 3</li>
</ul></div>
like image 57
sudo bangbang Avatar answered Sep 28 '22 01:09

sudo bangbang


You could consider using ahmadajmi/markdown-arabic which includes a right-to-left markdown editor.

Online version is also available at arabicmarkdown.netlify.com

like image 38
VonC Avatar answered Sep 28 '22 01:09

VonC