---
title: "BidiMD extension"
description: "VS Code / Open VSX extension for bidirectional Markdown preview — RTL-first for Persian and Arabic, without patching the workbench."
author: "Mohammad Pouya Ghourchiani"
canonical: "https://ghourchiani.ir/projects/bidimd"
image: "https://ghourchiani.ir/og/mark-square.png"
updated: "2026-09-22"
lang: "en"
generated: "2026-11-19"
---
# BidiMD extension

> **TL;DR:** Bidirectional Markdown preview for VS Code and Open VSX — RTL-first, no workbench patch.

BidiMD is a VS Code / Cursor / Open VSX extension for Markdown preview when Persian or Arabic should read RTL and code blocks should stay LTR. It uses the official `markdown.styles` API — it does not patch the workbench.

## Direct answer

Install from the Marketplace, run **BidiMD: Enable** (or Auto), open Markdown preview. RTL-dominant docs flip; code stays LTR.

## How it behaves

- **Auto** — inject RTL CSS when the active Markdown looks RTL-dominant
- **Force RTL / Force LTR** — explicit direction modes
- Status bar shows Off / Auto · RTL / Force RTL

Made for editors who write Persian or Arabic docs every day and refuse to break their install to get a readable preview.
