Skip to content

Commit 37fcc3e

Browse files
committed
docs: make title, intro & badges center aligned
1 parent 9a5971d commit 37fcc3e

File tree

2 files changed

+26
-18
lines changed

2 files changed

+26
-18
lines changed

README.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,29 @@
11
English | [简体中文](./docs/README.zh-CN.md)
22

3-
# JSON Editor Vue <sup>[![Version Badge][npm-version-svg]][package-url]</sup>
4-
5-
[npm-version-svg]: https://versionbadg.es/cloydlau/json-editor-vue.svg
6-
[package-url]: https://npmjs.com/package/json-editor-vue
3+
<h1 align="center">
4+
<a href="https://npmjs.com/package/json-editor-vue" target="_blank" rel="noopener noreferrer">
5+
JSON Editor Vue <sup><img alt="version" src="https://versionbadg.es/cloydlau/json-editor-vue.svg"></sup>
6+
</a>
7+
</h1>
8+
9+
<p align="center">
10+
JSON editor & viewer for Vue 2.6 / 2.7 / 3 & Nuxt 2 / 3
11+
<br>
12+
<a href="https://cloydlau.github.io/demo/json-editor-vue.html">🕹 Playground</a>
13+
</p>
714

8-
<p align="left">
15+
<p align="center">
916
<a href="https://github.com/cloydlau/json-editor-vue/actions/workflows/ci.yml"><img alt="build status" src="https://github.com/cloydlau/json-editor-vue/actions/workflows/ci.yml/badge.svg?branch=main"></a>
1017
<a href="https://bundlephobia.com/package/json-editor-vue"><img alt="minzipped size" src="https://img.shields.io/bundlephobia/minzip/json-editor-vue"></a>
1118
<a href="https://npmcharts.com/compare/json-editor-vue"><img alt="downloads" src="https://img.shields.io/npm/dm/json-editor-vue"></a>
19+
<br>
1220
<a href="https://eslint.org"><img alt="code style" src="https://img.shields.io/badge/code_style-ESLint-4B32C3.svg?logo=eslint"></a>
1321
<a href="https://conventionalcommits.org"><img alt="conventional commits" src="https://img.shields.io/badge/commits-Conventional-FE5196.svg?logo=conventionalcommits&logoColor=white"></a>
1422
<a href="https://github.com/cloydlau/json-editor-vue#develop"><img alt="PRs Welcome" src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg"></a>
1523
</p>
1624

17-
> JSON editor & viewer for Vue 2.6 / 2.7 / 3 & Nuxt 2 / 3, powered by [svelte-jsoneditor](https://github.com/josdejong/svelte-jsoneditor) (successor to [jsoneditor](https://github.com/josdejong/jsoneditor)).
18-
1925
<img width="49.738%" src="./docs/light-theme.png" alt="light-theme">&nbsp;<img width="49.738%" src="./docs/dark-theme.png" alt="dark-theme">
2026

21-
🕹 [Online Playground](https://cloydlau.github.io/demo/json-editor-vue.html)
22-
2327
<br>
2428

2529
## Features

docs/README.zh-CN.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,27 @@
1-
# JSON Editor Vue <sup>[![Version Badge][npm-version-svg]][package-url]</sup>
2-
3-
[npm-version-svg]: https://versionbadg.es/cloydlau/json-editor-vue.svg
4-
[package-url]: https://npmjs.com/package/json-editor-vue
1+
<h1 align="center">
2+
<a href="https://npmjs.com/package/json-editor-vue" target="_blank" rel="noopener noreferrer">
3+
JSON Editor Vue <sup><img alt="version" src="https://versionbadg.es/cloydlau/json-editor-vue.svg"></sup>
4+
</a>
5+
</h1>
6+
7+
<p align="center">
8+
JSON 编辑 & 预览工具,支持 Vue 2.6 / 2.7 / 3,支持 Nuxt 2 / 3
9+
<br>
10+
<a href="https://cloydlau.github.io/demo/json-editor-vue.html">🕹 试玩</a>
11+
</p>
512

6-
<p align="left">
13+
<p align="center">
714
<a href="https://github.com/cloydlau/json-editor-vue/actions/workflows/ci.yml"><img alt="build status" src="https://github.com/cloydlau/json-editor-vue/actions/workflows/ci.yml/badge.svg?branch=main"></a>
815
<a href="https://bundlephobia.com/package/json-editor-vue"><img alt="minzipped size" src="https://img.shields.io/bundlephobia/minzip/json-editor-vue"></a>
916
<a href="https://npmcharts.com/compare/json-editor-vue"><img alt="downloads" src="https://img.shields.io/npm/dm/json-editor-vue"></a>
17+
<br>
1018
<a href="https://eslint.org"><img alt="code style" src="https://img.shields.io/badge/code_style-ESLint-4B32C3.svg?logo=eslint"></a>
1119
<a href="https://conventionalcommits.org"><img alt="conventional commits" src="https://img.shields.io/badge/commits-Conventional-FE5196.svg?logo=conventionalcommits&logoColor=white"></a>
1220
<a href="https://github.com/cloydlau/json-editor-vue#develop"><img alt="PRs Welcome" src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg"></a>
1321
</p>
1422

15-
> JSON 编辑 & 预览工具,支持 Vue 2.6 / 2.7 / 3,支持 Nuxt 2 / 3,基于 [svelte-jsoneditor](https://github.com/josdejong/svelte-jsoneditor)[jsoneditor](https://github.com/josdejong/jsoneditor) 的继任者)。
16-
1723
<img width="49.738%" src="./light-theme.png" alt="light-theme">&nbsp;<img width="49.738%" src="./dark-theme.png" alt="dark-theme">
1824

19-
🕹 [在线试玩](https://cloydlau.github.io/demo/json-editor-vue.html)
20-
2125
<br>
2226

2327
## 特性

0 commit comments

Comments
 (0)