{"id":32126234,"url":"https://github.com/nur-srijan/markdown-preview-export","last_synced_at":"2025-10-20T23:06:56.029Z","repository":{"id":299392494,"uuid":"1002885205","full_name":"nur-srijan/markdown-preview-export","owner":"nur-srijan","description":"Markdown previews with seamless PDF and HTML export","archived":false,"fork":false,"pushed_at":"2025-09-22T16:30:25.000Z","size":12525,"stargazers_count":2,"open_issues_count":6,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-22T18:41:58.042Z","etag":null,"topics":["converter","export","export-pdf","html","markdown","markdown-to-html","markdown-to-pdf","pdf","pdf-generation","visual-studio-code","vscode-extension","vscode-markdown"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=nur-srijan.markdown-rich-preview","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nur-srijan.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-06-16T09:42:55.000Z","updated_at":"2025-09-22T16:30:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"636793cc-0c42-4351-8980-1791f94f96d7","html_url":"https://github.com/nur-srijan/markdown-preview-export","commit_stats":null,"previous_names":["nur-srijan/markdown-preview-export"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nur-srijan/markdown-preview-export","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nur-srijan%2Fmarkdown-preview-export","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nur-srijan%2Fmarkdown-preview-export/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nur-srijan%2Fmarkdown-preview-export/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nur-srijan%2Fmarkdown-preview-export/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nur-srijan","download_url":"https://codeload.github.com/nur-srijan/markdown-preview-export/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nur-srijan%2Fmarkdown-preview-export/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280173631,"owners_count":26284901,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-20T02:00:06.978Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["converter","export","export-pdf","html","markdown","markdown-to-html","markdown-to-pdf","pdf","pdf-generation","visual-studio-code","vscode-extension","vscode-markdown"],"created_at":"2025-10-20T23:06:54.987Z","updated_at":"2025-10-20T23:06:56.022Z","avatar_url":"https://github.com/nur-srijan.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Markdown Rich Preview \u0026 Export 🚀\n\n[![VS Code Marketplace Version](https://img.shields.io/visual-studio-marketplace/v/nur-srijan.markdown-rich-preview?style=plastic\u0026label=Visual%20Studio%20Marketplace\u0026color=green\n)](https://marketplace.visualstudio.com/items?itemName=nur-srijan.markdown-rich-preview)\n[![Rating](https://img.shields.io/visual-studio-marketplace/stars/nur-srijan.markdown-rich-preview?style=plastic\u0026label=Rating)](https://marketplace.visualstudio.com/items?itemName=nur-srijan.markdown-rich-preview)\n[![Open-VSX](https://img.shields.io/open-vsx/v/nur-srijan/markdown-rich-preview?style=plastic\u0026label=Open%20VSX%20Registry)](https://open-vsx.org/extension/nur-srijan/markdown-rich-preview)\n[![Open-VSX Rating](https://img.shields.io/open-vsx/stars/nur-srijan/markdown-rich-preview?style=plastic\u0026label=Open%20VSX%20Rating)](https://open-vsx.org/extension/nur-srijan/markdown-rich-preview)\n[![License](https://img.shields.io/badge/License-MIT-yellow.svg)](https://marketplace.visualstudio.com/items/nur-srijan.markdown-rich-preview/license)\n\n**💡 Feature requests or issues?** → Open an issue [here](https://github.com/nur-srijan/markdown-preview-export/issues/new/choose)\n\nA powerful VS Code extension that brings GitHub-style Markdown previews and one-click PDF/HTML exports right into your editor—no more Pandoc hacks or context-switching.\n\n## ✨ Features\n\n- **Rich Markdown Preview** - Instant, side-by-side preview with GitHub-like styling\n\n![Enhanced Preview Demo](https://raw.githubusercontent.com/nur-srijan/markdown-preview-export/main/assets/EnhancedPreviewDemo.gif)\n\n- **Export to PDF** - Create professional PDF documents with proper formatting\n\n![Export to PDF Demo](https://raw.githubusercontent.com/nur-srijan/markdown-preview-export/main/assets/ExportToPdf.png)\n\n- **Export to HTML** - Generate standalone HTML files with all styles included\n\n![Export to HTML Demo](https://raw.githubusercontent.com/nur-srijan/markdown-preview-export/main/assets/ExportToHtml.png)\n\n- **Real-time Updates** - See changes instantly as you type\n- **Syntax Highlighting** - Beautiful code blocks with syntax highlighting\n- **Math Support** - Support for KaTeX math rendering\n- **Responsive Design** - Looks great on any device or screen size\n\n## 🚀 Quick Start\n\n1. **Install** the extension from the [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=nur-srijan.markdown-rich-preview)\n2. **Open** any Markdown ([.md]()) file\n3. **Right-click** in the editor and choose one of these options:\n   - \"Markdown: Open Enhanced Preview\" - For live preview\n   - \"Markdown: Export to HTML\" - To save as HTML\n   - \"Markdown: Export to PDF\" - To create a PDF document\n\n## 🎯 Why Choose This Extension?\n\n✅ **All-in-One Solution** - Preview and export without leaving VS Code  \n✅ **No Pandoc Hacks** - No need to switch to another tool or use Pandoc for export  \n✅ **Beautiful Output** - Professional, clean formatting for all your documents  \n✅ **Keyboard Shortcuts** - Quick access to all features  \n✅ **Lightweight** - Fast performance with minimal resource usage  \n✅ **Open Source** - Free to use and contribute to\n\n## 🛠️ For Developers\n\n### Prerequisites\n- Node.js\n- VS Code\n- npm\n\n### Building from Source\n\n```bash\n# Clone the repository\ngit clone https://github.com/nur-srijan/markdown-preview-export.git\ncd markdown-preview-export\n\n# Install dependencies\nnpm install\n\n# Package the extension (creates .vsix file)\nnpx vsce package\n\n# Install the extension\ncode --install-extension markdown-rich-preview-*.vsix\n```\n\n### Testing\n1. Press F5 to open a new VS Code window with the extension loaded\n2. Open a Markdown file\n3. Use the right-click context menu to test all features\n\n## 📝 Contributing\nWe welcome contributions! Here's how you can help:\n\n1. Fork the repository\n2. Create a feature branch (git checkout -b feature/amazing-feature)\n3. Commit your changes (git commit -m 'Add some amazing feature')\n4. Push to the branch (git push origin feature/amazing-feature)\n5. Open a Pull Request\n\n## 📄 License\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## 🙏 Acknowledgments\n- [Marked](https://github.com/markedjs/marked) - For Markdown parsing\n- [Highlight.js](https://highlightjs.org/) - For syntax highlighting\n- [Puppeteer](https://pptr.dev/) - For PDF generation\n\n---\n\nMade with ❤️ by Nur Srijan | [GitHub](https://github.com/nur-srijan) | [X]()","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnur-srijan%2Fmarkdown-preview-export","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnur-srijan%2Fmarkdown-preview-export","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnur-srijan%2Fmarkdown-preview-export/lists"}