MdCraft is an open-source web app that serves as an in-browser Markdown editor and previewer. It allows users to create, organize, and edit Markdown notes with a live HTML preview and code highlighting. It's a convenient tool for taking notes during programming tutorials and more.
Mdcraft is not possible without these awesome open source projects.
Completely Client Side!: Your notes - Your browser - Offline - Dot.
Folder-Based Organization: Users can create, rename, and delete folders to organize their notes efficiently.
Markdown Notes: Create individual notes inside folders, with the ability to rename and delete them.
Live HTML Preview: Edit the Markdown content of a note in a syntax-highlighted environment and instantly see a live HTML preview with highlighted code blocks.
Markdown Download: Notes can be downloaded in .md format, making it easy to save and share your work.
Data Persistence: All data is stored in IndexedDB, ensuring no data loss even if you refresh the page.
PWA Support: MdCraft is presented as a Progressive Web App (PWA) with full offline capabilities, making it accessible wherever you are.
MdCraft was primarily created for:
In addition to these use cases, MdCraft comes pre-loaded with some useful reference notes on:
Feel free to explore and delete these pre-created notes or create your own!
Special thanks to Navin Kodag for sharing the service-worker script. You can find a post about it on dev.to.
Here are some features and improvements planned for MdCraft in the so-far future:
Clone the repository:
git clone https://github.com/lovelindhoni/mdcraft.git
Install dependencies:
pnpm install
Run the development server:
pnpm run dev
Open a web browser and navigate to http://localhost:5173
For production build:
pnpm run build
For running in production mode:
pnpm run preview
Open a web browser and navigate to http://localhost:4173