Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/roshan-research/moratab
Persian markdown editor.
https://github.com/roshan-research/moratab
markdown persian
Last synced: 3 months ago
JSON representation
Persian markdown editor.
- Host: GitHub
- URL: https://github.com/roshan-research/moratab
- Owner: roshan-research
- License: other
- Created: 2014-02-05T16:52:35.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2024-04-15T07:55:23.000Z (10 months ago)
- Last Synced: 2024-09-04T10:01:30.803Z (6 months ago)
- Topics: markdown, persian
- Language: Python
- Homepage: https://www.roshan-ai.ir/moratab/
- Size: 530 KB
- Stars: 283
- Watchers: 10
- Forks: 55
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# مرتب
نوشتن [markdown] برای زبان فارسی خیلی آسان نیست؛ مخصوصا برای متون دانشگاهی که پر از *پاورقی*، *فرمول*، *ارجاع*، *شکل* و *جدول* هستند. ویرایشگر **مرتب** قرار است این کار را آسان کند.
توسعه این ویرایشگر با سادهسازی پروژه [StackEdit] شروع شده و هدف از آغاز آن، تسهیل ویرایش متون در سایت [بوته] بوده است.
کد تبدیل نوشته `مرتب` به اچتیامال هم جزء پروژه است. دو کتابخانه [marked] و [mistune] به عنوان کد پایه انتخاب شدهاند که ویژگی شخصیسازی در آنها، اعمال تغییرات را آسان کرده است.
## نصب
بسته پایتون `moratab` آسان نصب میشود:
pip install moratabو استفاده از آن هم پیچیده نیست:
>>> from moratab import render
>>> render(text)[بوته]: http://www.boute.ir
[markdown]: http://daringfireball.net/projects/markdown/
[marked]: https://github.com/chjj/marked
[mistune]: https://github.com/lepture/mistune
[StackEdit]: https://github.com/benweet/stackedit