Md Reader RTL
A Markdown reader for Persian, Arabic, English, and mixed-direction technical documents in desktop VS Code. It renders Mermaid diagrams and KaTeX equations locally and keeps code, tables, and text readable in RTL documents.
| Light |
Dark |
 |
 |
Install
Use desktop VS Code 1.90 or later. Install from Visual Studio Marketplace to receive updates through VS Code when auto-update is enabled.
For manual installation, download the latest stable VSIX or choose a specific version from GitHub Releases. Select Extensions → … → Install from VSIX and choose the downloaded file. You can also run:
code --install-extension md-reader-rtl-hs-latest.vsix
For a manually installed VSIX, download and install a newer package yourself when a GitHub release is available. VS Code disables auto-update by default for VSIX installations.
The extension ID is HamedSanaei.md-reader-rtl-hs. VS Code treats the 0.2.1 package as a separate extension from the 0.2.0 preview. If both are installed, disable the earlier preview to avoid competing for Markdown tabs.
Open a .md or .markdown file, or run Md Reader RTL: Open in Viewer from the Command Palette. Edit Source opens the Markdown beside the reader. Set mdReaderRtl.openByDefault to false to default to the text editor.
What you can do
- Read mixed-direction prose with automatic detection or choose RTL or LTR per document.
- Render Mermaid and KaTeX offline, with SVG downloads for diagrams and readable source for invalid input.
- Read syntax-highlighted code, task lists, tables, GitHub-style alerts, footnotes, and YAML frontmatter.
- Jump between headings with Outline. Use Find to search in Persian, Arabic, and English.
- Use bundled Vazirmatn, your own fonts, and adjustable type size, line height, and reading width. The default theme follows VS Code, including High Contrast.
- Select Print to print or save a local PDF from the desktop browser.
User guide · Markdown syntax · Settings · Troubleshooting
Development
Use Node.js 24 or newer and npm.
npm ci
npm test
npm run package
npm run test:vsix
npm run test:integration -- --packaged
See the developer guide, architecture, security, and release guide.
Md Reader RTL is an independent derivative of HiTLandco/hit-mdviewer. The upstream MIT copyright and Vazirmatn font notice are retained. License · Third-party notices