This project was originaly a script written by @hamzamez to render Arabic poems correctly in the dom.
Provide a lightweight JS library to handle Arabic poems and render them in their Vertical style.
Believe me! Writing Arabic poems inside your web pages, mobile apps is indeed a frustrating job. Then you have to style it properly to give your readers or users a full experience as they used to with books. This process is very annoying espicially for webmasters who have little experience with HTML or CSS.
It is very simple. You put the poem inside a table, and every half-verse in a inside a cell. like so. and include the script in your page as it is. You can see an example in this link : https://codepen.io/mohessaid/pen/dwZZYm
<h1>ุงููุตูุฏุฉ ุงูุนู
ุฑูุฉ</h1>
<table cellspacing="20" class="poem" dir="rtl">
<tbody>
<tr>
<td><span>ุฅูููู ุชูุฐููุฑุชู ู ูุงูุฐููุฑู ู
ููุคูุฑููููุฉู</span></td>
<td><span>ู
ููุฌุฏุงู ุชููููููุฏุง ุจููุฃูููุฏูููููุง ุฃุถูุนูุงู</span></td>
</tr>
<tr>
<td><span>ูููุญู ุงูุนูุฑูุจุฉ ! ูุงู ุงููููู ู
ุณุฑุญูุง </span></td>
<td><span>ูููุฃุตููุจูุญููุช ุชููุชูุงุฑู ูููู ุฒูุงููุงู</span></td>
</tr>
<tr>
<td><span>ุฃูููู ุงุชููุฌูููุช ุฅูู ุงูุฅุณููุงู
ููู ุจููุฏ</span></td>
<td><span>ุชูุฌุฏููู ู ููุงูุทููุฑ ู ู
ููุตููุตุงู ุฌูุงุญุงู</span></td>
</tr>
<tr>
<td><span>ูููู
ุตููุฑููููุชูููููุง ูููุฏู ูููููุง ูููุตุฑููููููุง</span></td>
<td><span>ูุจูููุงุช ููููู
ููููููููุง ุดูููุนุจู ู
ูููููุงู</span></td>
</tr>
<tr>
<td><span>ููู ููุงู ุฏููููู ุงุจููู ุนูุฏูุงูู ุณูู ููู</span></td>
<td><span>ุดูู ุงููุฌููุฏุ ูููููู ุงูุฌููู ููุบุดูุงู ุ</span></td>
</tr>
<tr>
<td><span>ููููู ุงูุญููููููููุฉู ุนููููู ุงูููู ุชููููุคูููุง</span></td>
<td><span>ูููููู
ููุง ุญููุงูููุง ุชููุดููููููููุง ุดููุงูููุง</span></td>
</tr>
</tbody>
</table>
coming . . .
coming . . .
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
You want to be part of this โ๏ธ list ๐ . All pull requests are welcome as long as they resepect our contributing guidelines.
