Document Markdown to PDF
A specialized markdown-like language for generating professional PDFs. Write documents in a simple, readable syntax and export beautiful, print-ready files.
Simple Syntax
Write documents using familiar markdown with powerful extensions for tables, columns, and styling.
Professional Styling
Apply custom fonts, colors, and layouts. Create invoices, contracts, reports, and certificates.
Works Everywhere
Use in the browser or Node.js. Integrate with your existing tools via npm or CDN.
120 Google Fonts
Access a curated library of professional fonts loaded automatically from our CDN.
Write Document Markdown, Get PDFs
:::config
title: Invoice #2024-001
:::
# Invoice
**Client:** Acme Corp
**Date:** March 13, 2026
::table
Item | Qty | Price
Web Design | 1 | $2,500
Hosting | 12 | $1,200
::
No APIs. No Data Leaks. 100% Local.
Unlike cloud-based PDF services, DMD generates documents entirely on your device. Your sensitive data (invoices, contracts, medical records) never leaves your browser or server. No API calls, no third-party processing, no privacy concerns. Just fast, secure, offline-capable PDF generation.
Works Great with AI Coding Tools
Building with Cursor, Windsurf, Claude, or your favorite AI assistant? Drop our llms.txt
into your project and let AI handle PDF generation. The file teaches your AI assistant the DMD
syntax, API usage, and best practices.
llms.txt to your project root, or tell your AI: "Read https://dmdlang.dev/llms.txt before generating DMD code"
Ready to get started?
Install via npm or CDN. Generate your first PDF in minutes.
npm install dmd-to-pdf pdfmake
Getting Started with DMD
This guide will help you master the DMD language. Select a topic from the sidebar.
Language Reference
A complete dictionary of all supported elements, syntax rules, and style properties.
Pro License
Unlock the full power of DMD with a Pro license. A small yearly fee to cover work hours maintaining and improving the library.
License keys are currently being issued manually. Contact [email protected] to get your license. Automated checkout and dashboard coming soon.
Free
- Basic markdown to PDF
- Basic tables, lists, columns
- Headers & footers
- Page breaks
- Inline styles
- Roboto font included
- Custom fonts
- Styled tables & columns
- Watermarks
Pro
- Everything in Free
- 120 Google Fonts
- Custom font loading
- Styled tables, lists, columns
- Watermarks
- QR codes
- Table of contents
- Background layers
License Terms
Per Developer License
Each Pro license is issued to a single developer, company, or team. Licenses are non-transferable and must not be shared with other individuals or organizations outside your team.
Server and Browser Licenses
When you purchase a Pro license, you receive two separate license keys:
- Server License — For Node.js / server-side PDF generation without domain restrictions
- Browser License — For client-side PDF generation in web applications
Domain Limit (Browser License)
Browser licenses are limited to 3 domains per license. Subdomains don't count (e.g., app.example.com and www.example.com both fall under example.com). Need more? Contact us for enterprise licensing.
License
DMD (Document Markdown) Software License Agreement
Copyright (c) 2026-present JSA DESENVOLVIMENTO DE SOFTWARES LTDA. All rights reserved.
This Software License Agreement ("Agreement") is a legal agreement between you ("Licensee") and JSA DESENVOLVIMENTO DE SOFTWARES LTDA ("Licensor") for the DMD software, including all source code, compiled code, documentation, and associated files ("Software").
By installing, copying, or using the Software, you agree to be bound by the terms of this Agreement. If you do not agree, do not install or use the Software.
1. Definitions
"Free Features" means the basic functionality of the Software that operates without a valid License Key, as documented at https://dmdlang.dev.
"Pro Features" means the advanced functionality of the Software that requires a valid License Key to operate, as documented at https://dmdlang.dev.
"License Key" means a unique alphanumeric code provided by Licensor upon purchase that enables Pro Features.
"Commercial Use" means any use of the Software intended for or directed toward commercial advantage or monetary compensation.
2. Grant of License
2.1 Free Features License
Subject to the terms of this Agreement, Licensor grants Licensee a limited, non-exclusive, non-transferable, revocable license to:
- Use the Free Features for personal, educational, or commercial purposes
- Integrate the Software into Licensee's applications
- Distribute applications that incorporate the Software's Free Features
2.2 Pro Features License
Use of Pro Features requires a valid License Key. Upon purchasing a License Key, Licensor grants Licensee a limited, non-exclusive, non-transferable license to:
- Use the Pro Features according to the license type purchased:
- "Client License": For browser/client-side use on specified domains
- "Server License": For server-side use without domain restrictions
- Integrate the Pro Features into Licensee's applications
- Distribute applications that incorporate the Pro Features, provided the License Key is not exposed to end users
3. Restrictions
Licensee SHALL NOT:
- Reverse engineer, decompile, disassemble, or attempt to derive the source code of the Software
- Modify, adapt, translate, or create derivative works based on the Software
- Remove, alter, or obscure any proprietary notices, labels, or marks on the Software
- Redistribute, sublicense, rent, lease, or lend the Software as a standalone product
- Share, publish, or expose License Keys to unauthorized parties
- Circumvent, disable, or interfere with any license validation, security features, or access controls in the Software
- Use the Software to create a competing product or service
- Use Pro Features without a valid License Key
- Transfer a License Key to another party without written consent from Licensor
4. Intellectual Property
The Software is protected by copyright and other intellectual property laws. Licensor retains all right, title, and interest in and to the Software, including all copyrights, patents, trade secrets, trademarks, and other intellectual property rights. This Agreement does not grant Licensee any rights to Licensor's trademarks or service marks.
5. License Key Terms
- License Keys are personal to the Licensee and may not be shared or transferred.
- License Keys may be revoked if Licensee violates this Agreement.
- License Keys may have expiration dates. Continued use of Pro Features after expiration requires renewal.
- Licensor reserves the right to validate License Keys through online verification systems.
6. Disclaimer of Warranties
THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT. LICENSOR DOES NOT WARRANT THAT THE SOFTWARE WILL BE ERROR-FREE OR UNINTERRUPTED.
7. Limitation of Liability
IN NO EVENT SHALL LICENSOR BE LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL, OR PUNITIVE DAMAGES, INCLUDING BUT NOT LIMITED TO LOSS OF PROFITS, DATA, OR USE, ARISING OUT OF OR RELATED TO THIS AGREEMENT OR THE SOFTWARE, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
LICENSOR'S TOTAL LIABILITY UNDER THIS AGREEMENT SHALL NOT EXCEED THE AMOUNT PAID BY LICENSEE FOR THE LICENSE KEY, IF ANY.
8. Termination
- This Agreement is effective until terminated.
- Licensor may terminate this Agreement immediately if Licensee breaches any term of this Agreement.
- Upon termination, Licensee must cease all use of the Software and destroy all copies in Licensee's possession.
- Sections 3, 4, 6, 7, and 9 shall survive termination.
9. General
- This Agreement constitutes the entire agreement between the parties concerning the Software.
- This Agreement shall be governed by the laws of Brazil, without regard to its conflict of laws principles.
- If any provision of this Agreement is held to be unenforceable, the remaining provisions shall continue in full force and effect.
- Licensor's failure to enforce any right or provision shall not constitute a waiver of such right or provision.
- Licensor reserves the right to modify this Agreement at any time. Continued use of the Software after modifications constitutes acceptance of the modified terms.
Contact
For licensing inquiries: [email protected]
Website: https://dmdlang.dev