1- ![ ] ( https://badgen.net/badge/CodeX%20Editor /v2.0/blue )
1+ ![ ] ( https://badgen.net/badge/Editor.js /v2.0/blue )
22
3- # Code Tool for CodeX Editor
3+ # Code Tool for Editor.js
44
5- Code Tool for the [ CodeX Editor] ( https://ifmo.su/editor ) allows to include code examples in your articles.
5+ Code Tool for the [ Editor.js ] ( https://ifmo.su/editor ) allows to include code examples in your articles.
66
77![ ] ( https://capella.pics/77cc593f-0384-4df2-b9d1-d9c7d6d96b7d.jpg/cover/eff2f5 )
88
@@ -13,13 +13,13 @@ Code Tool for the [CodeX Editor](https://ifmo.su/editor) allows to include code
1313Get the package
1414
1515``` shell
16- npm i --save-dev codex.editor. code
16+ npm i --save-dev @editorjs/ code
1717```
1818
1919Include module at your application
2020
2121``` javascript
22- const CodeTool = require (' codex.editor. code' );
22+ const CodeTool = require (' @editorjs/ code' );
2323```
2424
2525### Download to your project's source dir
@@ -29,22 +29,22 @@ const CodeTool = require('codex.editor.code');
2929
3030### Load from CDN
3131
32- You can load specific version of package from [ jsDelivr CDN] ( https://www.jsdelivr.com/package/npm/codex.editor. code ) .
32+ You can load specific version of package from [ jsDelivr CDN] ( https://www.jsdelivr.com/package/npm/@editorjs/ code ) .
3333
34- ` https://cdn.jsdelivr.net/npm/codex.editor. code@2.0.0 `
34+ ` https://cdn.jsdelivr.net/npm/@editorjs/ code@2.0.0 `
3535
36- Require this script on a page with CodeX Editor.
36+ Require this script on a page with Editor.js .
3737
3838``` html
3939<script src =" ..." ></script >
4040```
4141
4242## Usage
4343
44- Add a new Tool to the ` tools ` property of the CodeX Editor initial config.
44+ Add a new Tool to the ` tools ` property of the Editor.js initial config.
4545
4646``` javascript
47- var editor = CodexEditor ({
47+ var editor = EditorJS ({
4848 ...
4949
5050 tools: {
0 commit comments