This tool converts Markdown-formatted text into structured HTML for static hosted web display.
// readme
copilot/add-markdown-to-html-tool
MD-to-HTML-Parser
Add this to your website: convert Markdown to HTML — entirely in the browser, no backend needed.
This open-source project renders Markdown (.md) files as styled HTML using only:
- One HTML file (
index.html) - One CSS file (
style.css) - Standard Markdown files (e.g.
example.md) - No backend — works on GitHub Pages or any static host
Live Demo
Deploy the repo to GitHub Pages and open the URL.
Or serve it locally:
python -m http.server 8080
# then open http://localhost:8080
Usage
- Clone this repository
- Open
index.htmlin a browser (or any static host) - Edit Markdown in the left panel — the right panel updates instantly
- Enter any
.mdfile URL in the toolbar and click Load to render it
Project structure
MD-to-HTML-Parser/
├── index.html # Single-page app — fetches & renders Markdown
├── style.css # Styling for the UI and rendered HTML
├── marked.min.js # Bundled marked.js library (UMD build, no CDN required)
└── example.md # Sample Markdown file loaded on startup
How it works
index.html uses…