← newer 2026-11-27 older →

TeX math in Markdown

Markdown files show TeX math typeset, written as on GitHub: $...$ inline, $$...$$ on its own line, $`...`$ and ```math blocks. It works offline, and prices such as $5 and $10 stay text. The fixed-page view still shows the TeX source (#6614).
A Markdown file with inline math, a displayed formula with a fraction and a sum, and prices that stay text

Text files in any encoding, with chapters

Text files (.txt) in GBK, Big5, Shift-JIS, Cyrillic and other code pages, or in UTF-16, show their text instead of garbage. Chapter headings, such as “Chapter 12”, “Prologue”, “第十二章” or “Глава 3”, make the book’s table of contents.
A Russian text file in the Windows-1251 encoding, with its three chapters in the Bookmarks sidebar

Faster books with thousands of chapters

HTML, FB2, MOBI and Markdown books with thousands of chapters open and lay out again much faster.