From a3c84f81bf01b45ae22c06e63d566103eb9aed0c Mon Sep 17 00:00:00 2001 From: robonetphy <1998patelumang@gmail.com> Date: Thu, 9 Nov 2023 15:11:52 +0530 Subject: [PATCH] the docs update --- README.md | 11 ++--------- package.json | 2 +- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index aaf9216..db1f639 100644 --- a/README.md +++ b/README.md @@ -6,25 +6,18 @@ Provides Headings Blocks for the [Editor.js](https://ifmo.su/editor). ## Installation -### Install via NPM - Get the package ```shell -npm i --save @editorjs/header +yarn add @editorjs/header ``` Include module at your application ```javascript -const Header = require('@editorjs/header'); +import Header from '@editorjs/header'; ``` -### Download to your project's source dir - -1. Upload folder `dist` from repository -2. Add `dist/bundle.js` file to your page. - ### Load from CDN You can load specific version of package from [jsDelivr CDN](https://www.jsdelivr.com/package/npm/@editorjs/header). diff --git a/package.json b/package.json index d0d3f40..c46ae3c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@editorjs/header", - "version": "2.8.0", + "version": "2.8.1", "keywords": [ "codex editor", "header",