RTL support for multilingual Markdown
Arabic, Hebrew, English, code, and mixed-direction layouts now stay readable across previews, exports, and mdedit.ai extensions.
Read update

Markdown documents are often multilingual. An Arabic or Hebrew paragraph may contain an English product name, a URL, or inline code—and the next list item may begin in English. mdedit.ai now keeps these mixed-language documents readable in the editor, supported exports, and extensions.
Choose how your document reads
In the web or desktop editor, use More → Frontmatter → Writing direction. You can also save the setting directly in your Markdown frontmatter so mdedit.ai and its extensions follow it wherever you open the file:
---
mdedit:
direction: auto
---
Choose Auto, Left to right, or Right to left. Auto lets each heading, paragraph, list item, quote, and table cell follow the language it starts with. Code and URLs stay left to right for readability.
Keep the layout when you export
The same writing direction is used in:
- Styled HTML and HTML ZIP
- Downloaded PDFs and Print / Save as PDF
- DOCX, including mixed-language lists and tables
- ODT and EPUB
Markdown and Markdown ZIP keep the original frontmatter unchanged. PPTX, RTF, and other converted text formats keep the content, but their RTL layout may vary.
Browser, VS Code, and Cursor controls
The browser extension and the VS Code/Cursor extension both offer Document, Auto, Left to right, and Right to left. Document follows the Markdown frontmatter and uses Auto when no direction is set. You can also choose a direction in the extension without changing the file.
Previews, HTML exports, and print/PDF output all follow your choice. Code remains left to right even in a right-to-left document.
Read the RTL and bidirectional Markdown guide for an Arabic, Hebrew, and English sample, setup instructions, and export guidance.

















