@slugcat-dev/mark-ed v1.7.1
mark-ed
mark-ed
is a lightweight (zero-dependency, less than 20 kB minified) in-browser editor that supports Markdown formatting, implemented in TypeScript.
DEMO • DOCS
Features
Rich Editing: Seemless in-editor formatting makes editing more immersive than having a split view between editor and preview, like most Markdown editors have.
Minimal Distractions: Markdown syntax can be automatically hidden where you don't edit to reduce the visual noise, like in Obsidian.
Easy to Use: Embed the editor on your website with only three lines of code!
Highly Customizable: Extend the editor with your own parsing rules and keybinds, and style it to match your design.
Basic Usage
For a more detailed explanation on how to install and use the editor, see Getting Started.
<div id="editor"></div>
import { Editor } from '@slugcat-dev/mark-ed'
const editor = new Editor('editor')
Issues
An editor like this is a piece of software that has to cover a lot of edge cases. If you encounter any unexpected behaviour, please open an issue, and I will do my best to fix it as soon as possible.
Contributing
To make development easier, this project comes with a live server to instantly view your changes. Install the needed development dependencies, then start the development server and open http://localhost:8000/ in your browser.
# Install dependencies
npm install
# Start dev server
npm run dev
Thanks to these Projects
https://github.com/jefago/tiny-markdown-editor/ \ https://github.com/codemirror/ \ https://github.com/lezer-parser/markdown/
8 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
11 months ago
11 months ago