{"id":14957190,"url":"https://github.com/hasiniwijerathna/react-markdown-editor","last_synced_at":"2026-01-20T13:01:39.966Z","repository":{"id":44480228,"uuid":"210073747","full_name":"HasiniWijerathna/React-Markdown-Editor","owner":"HasiniWijerathna","description":"Markdown Editor for React JS ","archived":false,"fork":false,"pushed_at":"2023-04-18T09:51:21.000Z","size":788,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-20T21:56:52.450Z","etag":null,"topics":["markdown-editor","react-js","react-markdown"],"latest_commit_sha":null,"homepage":"https://hasiniwijerathna.github.io/React-Markdown-Editor/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HasiniWijerathna.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2019-09-22T01:20:16.000Z","updated_at":"2024-02-19T16:02:43.000Z","dependencies_parsed_at":"2024-09-26T18:00:49.575Z","dependency_job_id":"22a9b803-1865-4740-ad1a-afccb5c42601","html_url":"https://github.com/HasiniWijerathna/React-Markdown-Editor","commit_stats":{"total_commits":13,"total_committers":2,"mean_commits":6.5,"dds":0.07692307692307687,"last_synced_commit":"1fb8cf61119fbc011bf1b2c76afd26ce8d6d6fb7"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/HasiniWijerathna/React-Markdown-Editor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HasiniWijerathna%2FReact-Markdown-Editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HasiniWijerathna%2FReact-Markdown-Editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HasiniWijerathna%2FReact-Markdown-Editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HasiniWijerathna%2FReact-Markdown-Editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HasiniWijerathna","download_url":"https://codeload.github.com/HasiniWijerathna/React-Markdown-Editor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HasiniWijerathna%2FReact-Markdown-Editor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28603404,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T12:01:53.233Z","status":"ssl_error","status_checked_at":"2026-01-20T12:01:46.545Z","response_time":117,"last_error":"SSL_read: 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":["markdown-editor","react-js","react-markdown"],"created_at":"2024-09-24T13:14:18.782Z","updated_at":"2026-01-20T13:01:39.947Z","avatar_url":"https://github.com/HasiniWijerathna.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"#  :rocket: React-Markdown-Editor \n\n\u003e Markdown editor for React JS\n\n[![NPM](https://img.shields.io/npm/v/react-markdown-editor.svg)](https://www.npmjs.com/package/react-markdown-editor) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n\n[![NPM](https://nodei.co/npm/react-edit-it.png)](https://nodei.co/npm/react-edit-it/)\n\n![65385802-53455980-dd65-11e9-816b-b18df1efeb72](https://user-images.githubusercontent.com/20472144/232740081-1225c42d-4cc9-496d-a315-2905c273799b.gif)\n\n## Installation \n\nCan be installed via npm:\n\n```bash\nnpm install --save react-edit-it \n\n```\nOr ```yarn```\n\n```bash\nyarn add react-edit-it \n\n```\n\n##  :bowtie: Basic Usage \n\nThe most basic use of the markdown editor can be described with:\n\n```jsx\nimport React, { Component } from \"react\";\n\nimport ReactMarkdownEditor from \"react-edit-it\";\n\nclass Example extends Component {\n  onChangeContent = props =\u003e {\n    // Access Props\n  };\n\n  render() {\n    return (\n      \u003cReactMarkdownEditor\n      // Pass the text content to be converted to markdown as props\n        content=\"demo\"\n        onChangeContent={this.onChangeContent}\n      /\u003e\n    );\n  }\n}\n```\n```onChangeContent``` event handler fires each time when the content has been edited. You can use it to access the editor text content\n\n![65385837-ed0d0680-dd65-11e9-959f-13d96ed20a48](https://user-images.githubusercontent.com/20472144/232740154-c1d39df9-86ef-42dd-b13e-ec5fdea0a345.gif)\n\n\n## Compatibility\n\n### React\n\nCompatible with the latest version of 16.x\n\n#### Latest compatible versions:\n- 15.x and 16.x\n\n## Options\n\n| Property          | Type           | Description                              |\n| ------------------|:--------------:| ----------------------------------------:|\n| content           | string         |         Markdown content to be converted |\n| onChangeContent   | func           |Called when the editor content is updated |\n\n## Sample Code \n\n\n\nCode sample is available in the /example directory for your perusal. You can execute npm install to generate the necessary dependencies for the examples.\n\nif you haven't, You may need to install,\n\n- npm or nvm (Go with nvm, its much easier to switch versions! :neckbeard:)\n- Node 8.16.0 or Node 10.16.0 or later version \n\n\n\n## License\n\nMIT © [HasiniWijerathna](https://github.com/HasiniWijerathna)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasiniwijerathna%2Freact-markdown-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhasiniwijerathna%2Freact-markdown-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasiniwijerathna%2Freact-markdown-editor/lists"}