Skip to content

Commit 40f6c4e

Browse files
committed
chore: update readme
1 parent f21f84a commit 40f6c4e

File tree

1 file changed

+20
-11
lines changed

1 file changed

+20
-11
lines changed

README.md

+20-11
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
# Vue Prism Editor
22

3-
<p align="center">
4-
5-
![version](https://img.shields.io/npm/v/vue-prism-editor.svg)
6-
![npm bundle size (minified + gzip)](https://img.shields.io/bundlephobia/minzip/vue-prism-editor.svg)
7-
[![GitHub](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/koca/vue-prism-editor)
8-
[![CircleCI branch](https://circleci.com/gh/koca/vue-prism-editor/tree/master.svg?style=shield)](https://circleci.com/gh/koca/vue-prism-editor/tree/master)
9-
10-
<!-- ![Codecov](https://img.shields.io/codecov/c/github/koca/vue-prism-editor.svg) -->
11-
12-
</p>
3+
[![Bundle size (minified + gzip)][bundle-size-badge]][bundle-size]
4+
[![NPM Downloads][downloads-badge]][downloads]
5+
[![Build Status][build-badge]][build]
6+
![Codecov][covarage-badge]
7+
[![Version][version-badge]][package]
8+
[![MIT License][license-badge]][license]
139

1410
> A dead simple code editor with syntax highlighting and line numbers. 3kb/z
1511
@@ -60,7 +56,7 @@ Register the component locally and use it (recommended)
6056

6157
```html
6258
<template>
63-
<prism-editor v-model="code" :highlight="highlighter" line-numbers></prism-editor>
59+
<prism-editor class="my-editor" v-model="code" :highlight="highlighter" line-numbers></prism-editor>
6460
</template>
6561

6662
<script>
@@ -186,3 +182,16 @@ Due to the way it works, it has certain limitations:
186182
## License
187183

188184
MIT
185+
186+
[build-badge]: https://img.shields.io/circleci/project/github/koca/vue-prism-editor/master.svg?style=flat-square
187+
[build]: https://circleci.com/gh/koca/vue-prism-editor
188+
[downloads-badge]: https://img.shields.io/npm/dt/vue-prism-editor.svg?style=flat-square
189+
[downloads]: https://npmjs.com/package/vue-prism-editor
190+
[build-badge]: https://img.shields.io/npm/dm/vue-client-only.svg?style=flat
191+
[license-badge]: https://img.shields.io/npm/l/vue-prism-editor.svg?style=flat-square
192+
[license]: https://opensource.org/licenses/MIT
193+
[version-badge]: https://img.shields.io/npm/v/vue-prism-editor.svg?style=flat-square
194+
[package]: https://www.npmjs.com/package/vue-prism-editor
195+
[bundle-size-badge]: https://img.shields.io/bundlephobia/minzip/vue-prism-editor.svg?style=flat-square
196+
[bundle-size]: https://bundlephobia.com/result?p=vue-prism-editor
197+
[covarage-badge]: https://img.shields.io/codecov/c/github/koca/vue-prism-editor?style=flat-square

0 commit comments

Comments
 (0)