Skip to content

mesut2ooo/Portable-Markdown-Editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Single-file Markdown Editor

A compact, all-in-one Markdown editor implemented as a single HTML file. Can run locally (file://) or be hosted on a static server. Lightweight, with a clean UI and most common Markdown features.

Repo name suggestion: single-file-markdown-editor


Overview

This project is a standalone HTML file containing:

  • A Markdown editor area with live preview.
  • Toolbar for common Markdown operations (bold, italic, headings, lists, code blocks).
  • Export as .md or .html.
  • Local file open/save support (works in modern browsers).
  • Minimal dependencies — no build step required.

Features

  • Live preview using a Markdown parser (e.g., marked.js) bundled into the single file.
  • Export and import .md files using browser APIs.
  • Simple UI, keyboard shortcuts, and responsive layout.
  • Optional localStorage autosave.

Usage

  1. Open editor.html in a modern browser:
file:///path/to/editor.html

or host via a static server:

python3 -m http.server 8000
# then open http://localhost:8000/editor.html
  1. Use the toolbar or keyboard shortcuts to edit.
  2. Click “Export” to download .md or .html.

Customization

  • The single-file nature makes it easy to drop into any project, embed into a static website, or use as a simple note-taking tool.
  • Replace the bundled markdown parser if you prefer a different one (instructions inside the file).

Examples & Screenshots

Add screenshots/ or short GIFs demonstrating editing, preview, and export.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages