Markdown for Students: Write Once, Export to Word or EPUB
By Ismail, Founder of Filoshi
Write notes and essays in plain-text Markdown, then turn them into Word, HTML or EPUB. The syntax, what converts cleanly, and what to fix after.
Markdown is plain text with a few symbols that mark headings, lists and emphasis. John Gruber created it, and the original page describes it as a plain text formatting syntax meant to stay readable as plain text. It works in any editor, your notes stay readable for decades, and a tool such as Pandoc can turn them into Word, HTML or EPUB when you need a formatted document.
The ten symbols you need
You can learn the useful part in five minutes. Here is the mini cheat sheet, with what you type on the left.
# Titleis a top-level heading.## Sectionis the next level, and### Subsectionthe one after.**bold**makes bold text.*italic*makes italic text.- itemstarts a bullet list. Each line that starts with a dash is one bullet.1. itemstarts a numbered list.[text](https://example.com)makes a link.inserts an image.> quotemakes a block quote.- Backticks around a word make inline code.
- A blank line starts a new paragraph.
Tables and footnotes are extensions rather than part of the original. A simple table looks like rows of words separated by vertical bars, with a line of dashes under the header. Pandoc's flavor of Markdown includes syntax for tables, footnotes and citations, according to the Pandoc manual.
Why students like it
- No lock-in. A note in a Markdown file is a text file. Notes apps such as Obsidian and many others store plain files, so you can move to a different app, or open the notes in Notepad, without exporting anything.
- Focus. You write words, not fiddle with fonts. Formatting is something you apply at the end.
- Version history. Text files work well with version tracking, backup tools and cloud sync. A small file is quick to save, and an old draft is easy to recover.
- Small and fast. A semester of notes is a few megabytes, and searching them is instant.
- Portable. The same file turns into a Word document for your tutor, a web page for a blog, or an EPUB for your phone.
Markdown has a standard now, too. CommonMark describes itself as a standardized, unambiguous specification of Markdown, created because Gruber's description does not specify the syntax unambiguously. In practice that means the basics behave the same in most editors.
From Markdown to a Word document
Most coursework ends up as a .docx file, so this is the conversion you will use most. Filoshi uses Pandoc for it, and Markdown to DOCX is one of the tested pairs.
What converts cleanly:
- Headings. Markdown headings become Word heading styles (Heading 1, Heading 2 and so on). The Pandoc manual lists Heading 1 to 9 among the styles it uses. Because they are real styles, Word's navigation pane and table of contents work.
- Lists, bold and italic, links and block quotes arrive as normal Word formatting.
- Tables written in Pandoc's pipe-table syntax become Word tables.
- Footnotes become real Word footnotes.
What you will need to fix afterwards, in Word:
- Page layout. Margins, page size and page numbers follow the defaults. Set them to your department's rules.
- Fonts and spacing. The default fonts will not match a required style. Change the styles once and the whole document follows.
- The title page and headers. Add them in Word.
Filoshi converts with Pandoc's defaults. It does not expose Pandoc's reference-document or template options, so if you want your university's styles applied automatically, you would use Pandoc directly.
Citations and references
Pandoc can format citations and a bibliography, but it takes extra setup. The manual says citation processing does not take place unless you supply bibliographic data, and it uses a citation style file for the look of the references. That is a command-line workflow, and Filoshi does not do citation processing. For a short essay, the simple route is to type citations as normal text in Markdown and then use Word's own citation tools after the conversion.
Markdown to EPUB and HTML
The same file can become other things.
- HTML. Markdown to HTML gives you a web page. It is handy for a personal site or for pasting into a blog editor.
- EPUB. Markdown to EPUB makes an ebook, good for a long set of notes or a story you want to read on a phone. Ebook basics are in EPUB, MOBI, AZW3 and FB2 explained.
- ODT. Markdown to ODT gives an OpenDocument file for LibreOffice and similar word processors.
Other targets such as plain text and LaTeX also work. These conversions passed Filoshi's automated test on Windows 11, and they happen on your PC, with nothing uploaded.
Markdown to PDF
PDF is the odd one out. Pandoc needs a separate PDF engine for it, and its manual says that by default it uses LaTeX, which has to be installed. In Filoshi, Markdown to PDF is an add-on conversion, using the free LibreOffice add-on that the app downloads once and then runs offline. It is not yet part of the automated test run. If you want a quick PDF without the desktop app, the free try on the home page turns a Markdown file into a simple PDF in your browser, one file at a time. Another reliable route is to convert to DOCX, check it in Word, and use Save as PDF.
For a wider look at working with documents on a Windows PC, the guide to editing PDFs without uploading them is a good next read.
A small workflow that works
Here is a setup you can start with today, using nothing but a text editor and a converter.
- Make a folder for the course, with one .md file per lecture or essay.
- Write headings for every topic. They give you structure now and become Word headings later.
- Keep pictures in the same folder, and refer to them with the image syntax shown above.
- When an essay is ready, convert it to DOCX, open it in Word, fix the layout and add the title page.
- Keep the .md file as the master. If your tutor asks for changes, edit the Markdown, convert again and redo only the final layout.
The only catch is that edits made in Word do not flow back into the Markdown. Decide early where the master copy lives, and make changes there.
Frequently asked questions
Is Markdown accepted for university assignments?
Usually not as a Markdown file. Most courses want a Word document or a PDF. The practical approach is to write in Markdown and submit the exported DOCX or PDF. Check your course's submission rules for the file types and layout they require.
Can Word open Markdown files?
Not reliably. Word is not designed to read Markdown formatting, so a .md file opens as plain text with the symbols still showing. Convert the file to DOCX first, and Word will show proper headings, lists and tables.
Does Markdown support tables and footnotes?
The original Markdown does not, but many versions add them as extensions. Pandoc's Markdown includes tables and footnotes, and they convert to real Word tables and footnotes. Other editors differ in the exact syntax, so test a small example first.
What's the difference between Markdown and CommonMark?
Markdown is the original idea and syntax from John Gruber. CommonMark is a precise specification of it, with a test suite, written because the original description left gaps and different tools behaved differently. If you stay with the basics, the two are the same for everyday writing.
How to Check Whether an App Uploads Your Files
Next →EPUB, MOBI, AZW3, FB2: Ebook Formats Explained
Ready to convert files privately?
1,841 tested conversions. No uploads. No accounts. Runs entirely on your machine.
Get Filoshi · $29