80fa166b1f | ||
---|---|---|
.github/workflows | ||
assets | ||
examples | ||
packages | ||
scripts | ||
.gitignore | ||
.prettierignore | ||
.prettierrc | ||
LICENSE | ||
README.md | ||
package.json | ||
rollup.config.js | ||
tsconfig.json |
README.md
ByteMD
Markdown editor component built with Svelte.
Note: It is still in development.
Usage
import { Editor, Viewer } from 'bytemd';
// Editor
new Editor({
target: document.body,
props: {},
});
// Viewer
new Viewer({
target: document.body,
props: {},
});
Plugins
Package | Status | Description |
---|---|---|
@bytemd/plugin-abc | support ABC notation | |
@bytemd/plugin-highlight | highlight code blocks | |
@bytemd/plugin-math | support math equation | |
@bytemd/plugin-media | support <video> and <audio> tags |
|
@bytemd/plugin-mermaid | support mermaid diagram and flowchart | |
@bytemd/plugin-styled-text | add styled text | |
@bytemd/plugin-twemoji | replace emoji characters with twemoji | |
@bytemd/plugin-xgplayer | support <video> with xgplayer |
License
MIT