Multi Docs

Convert Markdown documents to PDF and DOCX with custom fonts, heading colors, and embedded images.

Multi Docs application screenshot showing the markdown editor, style controls, and exported PDF and DOCX documents

Features

Markdown Editor

Write or paste Markdown with live style preview. Supports headings, lists, code blocks, blockquotes, tables, and more.

PDF Export

Generate styled PDF documents via Pandoc and wkhtmltopdf with embedded Google Fonts and custom colors.

DOCX Export

Create Word documents with matching styles using the docx library. Identical output to the PDF version.

Custom Fonts

Choose from 10 popular Google Fonts including Inter, Roboto, Montserrat, Playfair Display, and more.

Color Theming

Set primary and secondary heading colors that apply consistently across both PDF and DOCX output.

Image Embedding

Upload images and place them in your document with a simple placeholder. Images are embedded as base64 in both formats.

How It Works

1

Write Markdown

Enter your content in the built-in editor or paste existing Markdown.

2

Customize Styles

Pick a font, set heading colors, and optionally upload an image.

3

Export

Click Export PDF or Export DOCX. The server converts your Markdown with the chosen styles and returns the file.

Tech Stack

FrameworkNext.js 16 (App Router)
UIReact 19, Tailwind CSS v4
LanguageTypeScript 5
PDF EnginePandoc + wkhtmltopdf
DOCX Enginedocx (npm)
Markdown Parsermarked
FontsGoogle Fonts API
Package Managerpnpm

Getting Started

git clone https://github.com/owieth/multi-docs-demo.git cd multi-docs-demo pnpm install pnpm dev

Requires Node.js, Pandoc, and wkhtmltopdf installed on your system.