A Markdown Renderer hosted on GitHub Pages.
This project is a web-based Markdown renderer built with React and Vite. It allows users to input or load Markdown content and view the rendered output in real time. It supports math syntax via micromark-extension-math and offers a modern, responsive interface thanks to Tailwind CSS.
- Live Markdown Rendering: Instantly see formatted output as you type.
- Math Support: Render inline and block-level math expressions.
- Modern UI: Styled using Tailwind CSS and icon support via Lucide.
- Component-based: Built with reusable React components.
- Easy Deployment: Designed to be hosted on GitHub Pages.
Visit: https://erik-donath.github.io/markdown-renderer/
- Node.js (v18+ recommended)
- npm
Clone the repository and install dependencies:
git clone https://github.com/Erik-Donath/markdown-renderer.git
cd markdown-renderer
npm installTo start the development server:
npm run devVisit http://localhost:5173 (or as specified in your terminal) to view the app.
npm run buildnpm run previewsrc/- Application source codeApp.tsx- Main application componentMarkdownBlock.tsx- Markdown rendering logicTooltipButton.tsx- UI utility componentmain.jsx- Application entry pointindex.css- Global styles
public/- Static assets (if present)index.html- Main HTML templatevite.config.js- Vite configurationtailwind.config.js- Tailwind CSS configuration.github/- GitHub-specific files and workflows.vscode/- VSCode editor settingseslint.config.js- Linting configuration
npm run dev- Start local development servernpm run build- Build for productionnpm run preview- Preview production buildnpm run lint- Run ESLint
This project is licensed under the terms of the LICENSE file.