File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -13,25 +13,20 @@ Inline Tool for marking code-fragments for the [Editor.js](https://ifmo.su/edito
1313Get the package
1414
1515``` shell
16- npm i --save-dev @editorjs/inline-code
16+ yarn add @editorjs/inline-code
1717```
1818
1919Include 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
3227You 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
3631Require this script on a page with Editor.js.
3732
You can’t perform that action at this time.
0 commit comments