illusion Markdown (.mdi) is a Markdown extension format designed for Japanese typography.
It inherits all standard Markdown syntax and adds a minimal set of extensions to express ruby, tate-chu-yoko, no-break, line breaks, and kerning — things that are difficult or verbose in plain Markdown.
illusion Markdown (.mdi) は日本語組版のための Markdown 拡張フォーマットです。
標準 Markdown の構文をすべて継承しつつ、ルビ・縦中横・改行抑止・改行マーカー・字間調整など、プレーンな Markdown では表現しにくい要素を簡潔な記法で補います。
| Document | 内容 |
|---|---|
| SYNTAX.md | Full MDI syntax reference / MDI 構文リファレンス(英日双語) |
The syntax reference covers every MDI extension with examples, HTML output, and CSS hooks.
All standard Markdown features (headings, lists, links, tables, code blocks, etc.) are inherited from CommonMark and are not re-documented here.
構文リファレンスは、全 MDI 拡張の例・HTML 出力・CSS クラスを英日双語で解説しています。
見出し・リスト・リンク・表・コードブロックなど標準 Markdown 機能は CommonMark をそのまま継承します。
| Feature | Syntax | Example |
|---|---|---|
| Ruby ルビ | {base\|ruby} |
{東京\|とうきょう} |
| Ruby (split) 分割ルビ | {base\|r.u.by} |
{東京\|とう.きょう} |
| Tate-chu-yoko 縦中横 | ^text^ |
第^12^話 |
| No-break 改行抑止 | [[no-break:text]] |
[[no-break:新宿区]] |
| Line break 改行 | [[br]] |
曙。[[br]]やうやう |
| Blank paragraph 空白段落 | [[blank]] |
[[blank]] |
| Kerning 字間調整 | [[kern:<em>:text]] |
[[kern:-0.1em:言葉]] |
MDI is developed as part of the illusions project.