PORTFOLIO / RAZAK

Clear code. Real results.

All work

SIDE PROJECT / Developer Tools

MarkdownPad.

A Markdown editor with live preview and clean PDF exports. Your writing stays in your browser.

MY ROLE

Frontend developer

TOOLS

Next.js · TypeScript · CodeMirror · react-to-print

MarkdownPad application interface
190+

code languages

More details

Code highlighting for over 190 languages, using highlight.js.

3

export formats

More details

Save as PDF, HTML, or Markdown.

2

paper sizes

More details

Choose A4 or Letter, then adjust margins, text size, and page breaks.

01 / THE CHALLENGE

Write it. preview it. export it..

Writing Markdown is simple. Turning it into a clean PDF can be harder, especially with code, tables, and page breaks.

02 / THE APPROACH

How I built it.

01

Used CodeMirror for editing and one Markdown renderer for both preview and print.

02

Used the browser print engine to keep text sharp, links clickable, and pages properly split.

03

Added PDF, HTML, and Markdown export, writing stats, and a toolbar that works with the selected text.

03 / THE RESULT

What was delivered.

Built an editor with three export formats, two paper sizes, and code highlighting for over 190 languages.

Good to know

PDF export opens the browser print dialog. Choose Save as PDF to download the document.

KEEP EXPLORING

Fly High