1.7.1 • Published 1 year ago

@slugcat-dev/mark-ed v1.7.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

mark-ed

demo.gif

mark-ed is a lightweight (zero-dependency, less than 20 kB minified) in-browser editor that supports Markdown formatting, implemented in TypeScript.

DEMODOCS

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/

1.7.1

1 year ago

1.6.2

1 year ago

1.6.1

1 year ago

1.6.0

1 year ago

1.5.2

1 year ago

1.5.1

1 year ago

1.5.0

1 year ago

1.4.2

1 year ago

1.4.1

1 year ago

1.4.0

1 year ago

1.3.2

1 year ago

1.3.1

1 year ago

1.3.0

1 year ago

1.2.5

1 year ago

1.2.4

1 year ago

1.2.3

1 year ago

1.2.2

1 year ago

1.2.1

1 year ago

1.2.0

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago

0.0.0

2 years ago

0.0.1

2 years ago