Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/surister/magic-code-editor

Vue3 simple code blocks and code editor.
https://github.com/surister/magic-code-editor

code code-blocks code-editor code-highlight code-highlighting-and-blocks codeblocks component editor vue vue3 vuejs

Last synced: 5 days ago
JSON representation

Vue3 simple code blocks and code editor.

Awesome Lists containing this project

README

        

# magic-code-editor

![npm bundle size](https://img.shields.io/bundlephobia/min/magic-code-editor)
![NPM License](https://img.shields.io/npm/l/magic-code-editor)
![NPM Version](https://img.shields.io/npm/v/magic-code-editor)
![NPM Type Definitions](https://img.shields.io/npm/types/magic-code-editor)
![NPM dev or peer Dependency Version](https://img.shields.io/npm/dependency-version/magic-code-editor/peer/vue)

Simple, beautiful and highly customizable code blocks for Vue 3.

![img.png](images/img.png)

Github: https://github.com/surister/magic-code-editor

Npm: https://www.npmjs.com/package/magic-code-editor

Preview: https://mce.surister.dev

Docs: https://mce.surister.dev/docs

Props: https://mce.surister.dev/props

### Features
- Lightweight: ~ 8.11 kB │ gzip: 2.67 kB
- No dependencies
- Written in Modern Vue 3
- Highly customizable
- Built-in editor
- Syntax highlighting
- Line numbering
- Line highlighting
- Typescript support
- Open source

### More examples:
![img.png](images/img_3.png)
![img_1.png](images/img_1.png)
![img_2.png](images/img_2.png)
### Get started:
`npm install magic-code-editor`