MacDownApp / MacDownApp/macdown
Right to left languages support
Nobody has claimed this yet.
- Dominant language
- Rich Text Format
- Stars
- 9.8k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Hi, Thanks for this great software ❤️
I tried to use macDown to author a Persian text which is a right-to-left language (Hebrew and Arabic are RTL too). But it fails to render that correctly. This is the raw markdown:
```
سلام
ما اینجا **کد** داریم
* مورد
```php
for ($i=1; $i<=10; $i++) {
echo "hello";
}
*``` //remove the star
```
This will be rendered in Github as expected:
---
سلام
ما اینجا **کد** داریم
* مورد
```php
for ($i=1; $i<=10; $i++) {
echo "hello";
}
```
---
But in macDown it fails to format the text enclosed in `

---
This [link](https://gist.github.com/eladkarako/6eb6f783754ca1c2bb6bad6f4e5afb02#file-readme-md) may help about how to interpret `dir` and `align` attributes.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the supplied Persian Markdown containing a dir='rtl' div in MacDown and compare its preview with the GitHub rendering shown in the issue. Trace the preview's handling of the HTML direction attribute; done means Hebrew, Arabic, and Persian content formats correctly while the existing code block and list remain intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html, markdown
- Domain
- desktop, frontend, internationalization
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100