Writing Chinese in Markdown: Punctuation, Spacing, and Fonts
Chinese Markdown writing comes down to one split: use Chinese punctuation inside your sentences, and keep Markdown's own syntax in plain ASCII. The rest, from spacing to emphasis to fonts, follows from that.
This matters if you keep Chinese notes, drafts, or README files in plain text, or if you are writing Lunar New Year greetings and want them to look right. Markdown was built around ASCII punctuation, so a few habits need adjusting.
Full-width punctuation in Chinese Markdown
Chinese punctuation is full-width. The Wikipedia overview of Chinese punctuation puts it this way: marks imported from Europe are fullwidth instead of halfwidth like their European counterparts. The W3C's Requirements for Chinese Text Layout describes Han characters and punctuation as squares with a 1:1 ratio, arranged seamlessly next to one another.
Marks that stay full-width
These are the ones you will type most:
| Mark | Name | Code point | |---|---|---| | 。 | ideographic full stop | U+3002 | | 、 | ideographic comma (enumeration comma) | U+3001 | | , | fullwidth comma | U+FF0C | | ! ? | fullwidth exclamation and question marks | U+FF01, U+FF1F | | : ; | fullwidth colon and semicolon | U+FF1A, U+FF1B |
The enumeration comma 、 is used to separate items in a list, particularly when there are three or more.
Quotation marks, titles, ellipsis, and dashes
Quotation style depends on region. Simplified Chinese in horizontal text officially uses curly quotes, while Traditional Chinese commonly uses corner brackets 「」 and 『』. The W3C notes that horizontal writing mode requires curved quotation marks and vertical mode requires corner brackets. Book titles take 《》.
The ellipsis is usually two U+2026 characters side by side, and the two-em dash is recommended as U+2E3A, though two U+2014 characters are also common. Neither should break across lines, which is a job for the renderer rather than something you can control in a plain-text file.
Pick the quote style your readers expect and use it throughout a file.
Keep Markdown syntax in ASCII
Chinese punctuation is full-width, but Markdown syntax is not. These only work with their ASCII characters:
## 新年计划
- 买年货
- 给家人写贺卡
[春节习俗](https://example.com)A full-width # is not a heading marker, and full-width brackets do not make a link. If a line refuses to render, check for a full-width character that crept in from your input method.
Spacing between Chinese and English
Markdown does not require a space between Chinese and Latin text, and no parser inserts one for you. Both of these are valid:
我用 Markdown 写笔记。
我用Markdown写笔记。Many writers add a gap for readability, and the W3C's gap analysis says some extra space is usually recommended between Han and Latin text. The W3C leaves the exact amount to the typesetting rather than to the writer, so don't count on a typed space producing a precise width. Choose one habit and apply it across the whole file.
One detail helps: when you type Latin letters with a Chinese input source on a Mac, they are entered as half-width by default. Apple's input menu has Convert Text to Full Width and Convert Text to Half Width, and full-width Latin can be useful when alignment matters, as in tables.
Line breaks and emphasis
Two parts of CommonMark deserve a second look when the text is Chinese.
Line breaks. In the CommonMark spec, a plain line ending inside a paragraph is a softbreak, and it may be rendered as a line ending or as a space. Chinese does not put spaces between words, so a viewer that turns a softbreak into a space can leave an unwanted gap in the middle of a sentence. If you hard-wrap lines, preview the result. A hard break needs two trailing spaces or a backslash at the end of the line.
Emphasis. CommonMark decides whether * or ** can open or close emphasis using Unicode whitespace and punctuation. Its punctuation class covers the Unicode P and S categories, and full-width marks such as , and : fall into it. In practice this can break emphasis that sits right against a Chinese punctuation mark:
**注意:**请先保存。
**注意**:请先保存。By the spec's flanking rules, the first line has a closing ** that follows a punctuation mark and is followed directly by a character, so it is not treated as closing. Moving the punctuation outside, as in the second line, avoids the problem. Renderers differ, so check your own preview. The same kind of edge case shows up with other scripts, as in right-to-left text in Markdown.
Fonts for Chinese text
A Markdown file stores no font at all. The app that displays it chooses the typeface, so what you control is the text, not the look.
It still helps to know the vocabulary. The W3C lists four commonly used styles: Song (also called Ming), Kai, Hei, and Fangsong. Song is the most common in Chinese printing. Kai often appears in textbooks and official documents, and Hei is the heavier style often used for emphasis.
Simplified and Traditional forms are also not a one-to-one mapping, and the W3C recommends that typographic rules be distinguished by region rather than by Traditional or Simplified. If a character looks slightly different from what you expect, a regional font variant is a likely reason.
Typing Chinese on a Mac or iPad
Use your Chinese input source for the prose, and let it supply full-width punctuation. When you need an ASCII character for Markdown syntax, such as a hash or a backtick, switch to the ABC source or type it with your Chinese input source in Latin mode. Our guide to iPad keyboard shortcuts for writing covers the shortcuts that make switching quicker.
How Carets fits in
Chinese Markdown writing needs a file that holds exactly what you typed, full-width marks and ASCII syntax side by side. Carets is a native notes and code editor for iPhone, iPad, and Mac that keeps your files as plain text, so they stay portable and future-proof.
Two features matter for this topic. Carets handles Markdown and plain text in one editor, and it organizes notes into files, projects, and tags, so a folder of Chinese greetings or drafts sits next to your English notes. Because it is built natively for iOS and Mac rather than as a web wrapper, it fits the way you already type Chinese on Apple devices.
Write a short test note with the examples above, then see how your preview treats the emphasis and line breaks. Download Carets on the App Store for iPhone, iPad, and Mac.
Frequently Asked Questions
Should I use full-width or half-width punctuation in Chinese Markdown?
Use full-width marks such as ,。!? inside Chinese sentences, which is what Chinese typography expects. Keep half-width ASCII for Markdown syntax itself: the hash for headings, asterisks for emphasis, hyphens for lists, backticks, and the brackets and parentheses around links.
Do I need a space between Chinese and English words?
Markdown does not require one. Many writers add a gap for readability, but the W3C notes on Chinese layout leave the exact width to the typesetting, so choose one habit and apply it throughout a file.
Which quotation marks should I use?
It depends on region. Simplified Chinese in horizontal text uses curly quotes, and Traditional Chinese commonly uses corner brackets 「」. Pick the one your readers expect and stay consistent.