{"id":13770077,"url":"https://github.com/editor-js/marker","last_synced_at":"2026-02-13T17:38:33.565Z","repository":{"id":32902833,"uuid":"145454808","full_name":"editor-js/marker","owner":"editor-js","description":"Marker Tool for Editor.js 2.0","archived":false,"fork":false,"pushed_at":"2023-12-06T15:38:55.000Z","size":7690,"stargazers_count":71,"open_issues_count":13,"forks_count":39,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-19T14:30:38.851Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/editor-js.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-08-20T18:19:56.000Z","updated_at":"2024-04-25T08:15:30.000Z","dependencies_parsed_at":"2024-01-06T20:54:36.655Z","dependency_job_id":null,"html_url":"https://github.com/editor-js/marker","commit_stats":{"total_commits":37,"total_committers":9,"mean_commits":4.111111111111111,"dds":0.7567567567567568,"last_synced_commit":"13e0b1cf72cfa706dc236e617683a5e349a021f5"},"previous_names":["codex-editor/marker"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/editor-js%2Fmarker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/editor-js%2Fmarker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/editor-js%2Fmarker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/editor-js%2Fmarker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/editor-js","download_url":"https://codeload.github.com/editor-js/marker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225008456,"owners_count":17406287,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T17:00:34.066Z","updated_at":"2026-02-13T17:38:33.559Z","avatar_url":"https://github.com/editor-js.png","language":"JavaScript","readme":"![](https://badgen.net/badge/Editor.js/v2.0/blue)\n\n# Marker Tool\n\nMarker Tool for highlighting text-fragments for the [Editor.js](https://editorjs.io).\n\n![](assets/example.gif)\n\n## Installation\n\nGet the package\n\n```shell\nyarn add @editorjs/marker\n```\n\nInclude module at your application\n\n```javascript\nimport Marker from '@editorjs/marker';\n```\n\nOptionally, you can load this tool from CDN [JsDelivr CDN](https://cdn.jsdelivr.net/npm/@editorjs/marker@latest)\n\n## Usage\n\nAdd a new Tool to the `tools` property of the Editor.js initial config.\n\n```javascript\nvar editor = EditorJS({\n  ...\n  \n  tools: {\n    ...\n    Marker: {\n      class: Marker,\n      shortcut: 'CMD+SHIFT+M',\n    }\n  },\n  \n  ...\n});\n```\n\n## Config Params\n\nThis Tool has no config params\n\n## Output data\n\nMarked text will be wrapped with a `mark` tag with an `cdx-marker` class.\n\n```json\n{\n    \"type\" : \"text\",\n    \"data\" : {\n        \"text\" : \"Create a directory for your module, enter it and run \u003cmark class=\\\"cdx-marker\\\"\u003enpm init\u003c/mark\u003e command.\"\n    }\n}\n```\n\n","funding_links":[],"categories":["Tools"],"sub_categories":["Inline Tools"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feditor-js%2Fmarker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feditor-js%2Fmarker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feditor-js%2Fmarker/lists"}