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
13
13
Get the package
14
14
15
15
``` shell
16
- npm i --save-dev @editorjs/inline-code
16
+ yarn add @editorjs/inline-code
17
17
```
18
18
19
19
Include module at your application
20
20
21
21
``` javascript
22
- const InlineCode = require ( ' @editorjs/inline-code' ) ;
22
+ import InlineCode from ' @editorjs/inline-code' ;
23
23
```
24
24
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
-
30
25
### Load from CDN
31
26
32
27
You can load specific version of package from [ jsDelivr CDN] ( https://www.jsdelivr.com/package/npm/@editorjs/inline-code ) .
33
28
34
- ` https://cdn.jsdelivr.net/npm/@editorjs/inline-code@1.0.1 `
29
+ ` https://cdn.jsdelivr.net/npm/@editorjs/inline-code@latest `
35
30
36
31
Require this script on a page with Editor.js.
37
32
You can’t perform that action at this time.
0 commit comments