Skip to content

Commit 582de1d

Browse files
committed
docs: clearer fork lineage, toned-down positioning, LICENSE fork copyright
Acknowledgements + upstream note when GitHub shows no fork badge; balance portfolio copy away from privacy-first framing; add Marco Pontili to MIT line.
1 parent c7e86e2 commit 582de1d

4 files changed

Lines changed: 11 additions & 5 deletions

File tree

LICENSE

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ The MIT License (MIT)
22

33
Copyright (c) 2019 realdennis
44

5+
Copyright (c) 2026 Marco Pontili
6+
57
Permission is hereby granted, free of charge, to any person obtaining a copy
68
of this software and associated documentation files (the "Software"), to deal
79
in the Software without restriction, including without limitation the rights

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
11
# Markdown2PDF
22

3-
Privacy-first Markdown-to-PDF in your browser—live GitHub-flavored preview, syntax-highlighted fenced code, and Mermaid diagrams. Runs offline as a PWA; no server and no uploads, so your content stays on your device.
3+
Turn Markdown into a print-ready PDF in your browser—**live GitHub-flavored preview**, **syntax-highlighted** fenced code blocks, and **Mermaid** diagrams. Works **offline as a PWA** after the first load; processing stays in the browser (no separate backend).
44

5-
This is a fork of [realdennis/md2pdf](https://github.com/realdennis/md2pdf). Thanks to @realdennis for the original work.
5+
## Acknowledgements
6+
7+
This repository is derived from **[realdennis/md2pdf](https://github.com/realdennis/md2pdf)** (MIT). Thanks to Dennis for the original app.
8+
9+
This fork evolves the codebase independently: **Mermaid** in the preview, **remark-gfm** + **highlight.js**, **vite-plugin-pwa** / offline caching, stricter sanitization paths, UX and PDF-oriented styling, CI build + deploy automation, tests, and ongoing maintenance. *(If GitHub doesn’t show a “forked from” badge, that’s usually because the repo was created as a new remote rather than GitHub’s Fork button—you still carry MIT attribution in this README and in [`LICENSE`](LICENSE).)*
610

711
---
812

913
## Features
1014

1115
- Convert Markdown to PDF via the browser print dialog
1216
- **100% offline** — works without internet after first load
13-
- **Privacy-first** — no data sent to any server; files stay on your machine
17+
- **Client-only workflow** — no backend; Markdown is rendered and printed from your browser session
1418
- Responsive UI with a **mobile-friendly** tabbed editor/preview on small screens
1519
- PWA support (installable, cache-first for repeat visits)
1620
- Custom styles for PDF output (GitHub-style markdown CSS)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "md2pdf",
33
"version": "2.9.4",
4-
"description": "Privacy-first Markdown→PDF in the browser: live GFM preview, highlighted code blocks, Mermaid—offline PWA; nothing uploaded.",
4+
"description": "In-browser Markdown to PDF—GFM preview, syntax-highlighted code, Mermaid, PWA/offline. Derived from realdennis/md2pdf (MIT).",
55
"keywords": [
66
"markdown",
77
"pdf"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
export const initialText = `# Hello World!
22
3-
**Markdown To PDF** is an offline Markdown editor and preview in your browser—nothing is uploaded or sent to a server. It supports **GitHub-flavored Markdown**, syntax-highlighted fenced code blocks, **Mermaid** diagrams (\`\`\`mermaid … \`\`\`), tables, task lists, and more. Drag in a \`.md\` file or type here, then use **Export to .pdf** to print or save a PDF via your system dialog.
3+
**Markdown To PDF** is an offline Markdown editor and preview in your browser—all conversion runs locally. It supports **GitHub-flavored Markdown**, syntax-highlighted fenced code blocks, **Mermaid** diagrams (\`\`\`mermaid … \`\`\`), tables, task lists, and more. Drag in a \`.md\` file or type here, then use **Export to .pdf** to print or save a PDF via your system dialog.
44
`;

0 commit comments

Comments
 (0)