Skip to content

Build a Markdown to HTML Converter

Build a Markdown parser following CommonMark: headings, paragraphs, emphasis, links, images, lists, code blocks, blockquotes, horizontal rules. Then add GFM extensions (tables, strikethrough). The foundation of every README, blog post, and static site generator.

beginner20 lessons4 chapters20 graded exercisesPython

No sign-up needed for lesson 1 · certificate on completion · sign up to save progress

What you’ll have built

Chapter by chapter. Every step is a graded exercise.

  • Block Elements
  • Inline Elements
  • Lists & Code
  • Production Concerns
Starts in Python — solve in the language you choose in the editor, same tests either way.

Curriculum

4 chapters, 20 lessons. Each lesson is a short read, one graded exercise, and a quiz.

  1. 1HeadingsRead · exercise · quiz
  2. 2Paragraphs & Line BreaksRead · exercise · quiz
  3. 3Setext HeadingsRead · exercise · quiz
Loading reference solution…