Skip to content

Commit 8a3cb61

Browse files
committed
update the readme.md
1 parent a3f1184 commit 8a3cb61

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

README.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,20 @@ Inline Tool for marking code-fragments for the [Editor.js](https://ifmo.su/edito
1313
Get the package
1414

1515
```shell
16-
npm i --save-dev @editorjs/inline-code
16+
yarn add @editorjs/inline-code
1717
```
1818

1919
Include module at your application
2020

2121
```javascript
22-
const InlineCode = require('@editorjs/inline-code');
22+
import InlineCode from '@editorjs/inline-code';
2323
```
2424

25-
### Download to your project's source dir
26-
27-
1. Upload folder `dist` from repository
28-
2. Add `dist/bundle.js` file to your page.
29-
3025
### Load from CDN
3126

3227
You can load specific version of package from [jsDelivr CDN](https://www.jsdelivr.com/package/npm/@editorjs/inline-code).
3328

34-
`https://cdn.jsdelivr.net/npm/@editorjs/inline-code@1.0.1`
29+
`https://cdn.jsdelivr.net/npm/@editorjs/inline-code@latest`
3530

3631
Require this script on a page with Editor.js.
3732

0 commit comments

Comments
 (0)