Sharing Documents Publicly
Learn how to generate a public share link for your Markdown document so anyone can view the rendered HTML version without an account.
Markdown to Pretty PDF lets you share any document as a public, read-only web page — no account required for the viewer. The rendered HTML is professionally styled, fully responsive, and includes all embedded diagrams and math.
How Public Sharing Works
When you click Share, your document is:
- Saved to the cloud with a unique ID
- Rendered into a styled HTML page accessible at a public URL
- Indexed in the sitemap so it can be found via search engines (unless you mark it private)
The viewer sees the same formatted output as your preview — headings, code highlighting, diagrams, tables, and math expressions all render correctly.
Generating a Share Link
- Open your document in the editor
- Click the Share button in the top toolbar
- A unique URL is generated and copied to your clipboard
- Send this link to anyone — they can view it immediately in any browser
The URL format is: https://markdowntoprettypdf.calnep.com/share/[document-id]
What Viewers Can See
| Feature | Available to viewers |
|---|---|
| Rendered Markdown content | ✅ |
| Embedded diagrams | ✅ |
| Table of Contents (if enabled) | ✅ |
| Math expressions | ✅ |
| Download as PDF button | ✅ |
| Edit the document | ❌ |
| Source Markdown | ❌ |
Updating a Shared Document
If you edit your document and re-share it, the existing share URL is updated to reflect the latest content. Viewers who open the link after your update will see the new version automatically — the URL stays the same.
Privacy Considerations
By default, shared documents are:
- Publicly accessible to anyone with the link
- Included in the sitemap for search engine indexing
If your document contains sensitive information, do not use the public share feature. Use the Export PDF function instead and share the PDF file directly.
Embedding in Websites
You can embed a shared document in any website using an iframe:
<iframe
src="https://markdowntoprettypdf.calnep.com/share/your-document-id"
width="100%"
height="800"
frameborder="0">
</iframe>
This is useful for embedding documentation, reports, or reference sheets inside an existing site without duplicating content.
Viewing on Mobile
Shared documents are fully responsive. On small screens, the layout adapts automatically:
- Long tables become horizontally scrollable
- The TOC collapses into a compact navigation
- Code blocks wrap cleanly without horizontal overflow
Link Longevity
Shared document links are permanent as long as the document exists. There is no expiry or time limit on shared links.