Topic: markdown

2026-09-12 · 3 min read

Markdown blog with Express and EJS

Build a content site where each article is a Markdown file with front matter, parsed once at startup and rendered with EJS. Covers a tiny front-matter parser, a marked renderer that marks external and sponsored links, reading-time estimates for languages without spaces, and generating sitemap.xml.

expressejsmarkdownmarked
2026-09-12 · 2 min read

Build an EPUB from Markdown with Node.js

Generate a valid EPUB 3 from a folder of Markdown chapters using marked and jszip: the required files, why mimetype must be stored uncompressed and first, converting HTML to XHTML, the nav.xhtml table of contents, content.opf metadata, and adding a cover.

epubmarkdownnode.jsjszip

← Guides