{"id":26193244,"url":"https://github.com/flydev-fr/editorjs-maths","last_synced_at":"2026-02-09T07:35:29.515Z","repository":{"id":90898469,"uuid":"375605540","full_name":"flydev-fr/editorjs-maths","owner":"flydev-fr","description":"Math plugin for editor.js","archived":false,"fork":false,"pushed_at":"2021-05-24T09:34:53.000Z","size":85,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-25T16:52:47.202Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":false,"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/flydev-fr.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-06-10T07:13:23.000Z","updated_at":"2022-03-11T19:50:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"9cd1dafe-db48-4fc5-a224-119b2b871685","html_url":"https://github.com/flydev-fr/editorjs-maths","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/flydev-fr/editorjs-maths","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flydev-fr%2Feditorjs-maths","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flydev-fr%2Feditorjs-maths/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flydev-fr%2Feditorjs-maths/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flydev-fr%2Feditorjs-maths/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flydev-fr","download_url":"https://codeload.github.com/flydev-fr/editorjs-maths/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flydev-fr%2Feditorjs-maths/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29258761,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T04:11:57.159Z","status":"ssl_error","status_checked_at":"2026-02-09T04:11:56.117Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2025-03-12T01:37:47.211Z","updated_at":"2026-02-09T07:35:29.499Z","avatar_url":"https://github.com/flydev-fr.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Math Tool for Editor.js\n\nMath Tool for the [Editor.js](https://ifmo.su/editor) allows to include math in your articles.\nYou can see it in action [here](https://sorenholsthansen.github.io/editorjs-maths-example/).\n\n## Install\n\nDownload the package through npm (or yarn)\n\n```\nnpm i --save-dev editorjs-maths\nyarn add editorjs-maths\n```\n\nand include the package in your app\n\n```javascript\nconst MathTool = require('editorjs-maths');\n// or import MathTool from 'editorjs-maths';\n```\n\nYou can also load it from CDN\n\n```html\n\u003cscript src=\"https://cdn.jsdelivr.net/npm/editorjs-maths@1.0.0/dist/bundle.min.js\"\u003e\u003c/script\u003e\n```\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    math: MathTool,\n  }\n\n  ...\n});\n```\n\n## Config Params\n\n| Field       | Type     | Description                    |\n| ----------- | -------- | ------------------------------ |\n| placeholder | `string` | Code Tool's placeholder string |\n\n## Output data\n\nThis Tool returns math.\n\n```json\n{\n\t\"type\": \"code\",\n\t\"data\": {\n\t\t\"tex\": \"x^2\"\n\t}\n}\n```\n\n## KaTeX\n\nThis tool is build on top of [KaTeX](https://katex.org/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflydev-fr%2Feditorjs-maths","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflydev-fr%2Feditorjs-maths","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflydev-fr%2Feditorjs-maths/lists"}