{"id":13681299,"url":"https://github.com/diedsmiling/material-ui-markdown-editor","last_synced_at":"2025-04-30T03:31:06.393Z","repository":{"id":57292156,"uuid":"73311290","full_name":"diedsmiling/material-ui-markdown-editor","owner":"diedsmiling","description":"React.js Markdown editor component based on material-ui","archived":false,"fork":false,"pushed_at":"2018-11-13T08:44:21.000Z","size":915,"stargazers_count":28,"open_issues_count":4,"forks_count":9,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-09T09:41:30.151Z","etag":null,"topics":["codemirror","editor-plugin","markdown","material-ui"],"latest_commit_sha":null,"homepage":null,"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/diedsmiling.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}},"created_at":"2016-11-09T18:42:59.000Z","updated_at":"2025-02-20T03:30:02.000Z","dependencies_parsed_at":"2022-08-27T12:20:43.118Z","dependency_job_id":null,"html_url":"https://github.com/diedsmiling/material-ui-markdown-editor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diedsmiling%2Fmaterial-ui-markdown-editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diedsmiling%2Fmaterial-ui-markdown-editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diedsmiling%2Fmaterial-ui-markdown-editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diedsmiling%2Fmaterial-ui-markdown-editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diedsmiling","download_url":"https://codeload.github.com/diedsmiling/material-ui-markdown-editor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251635127,"owners_count":21619149,"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":["codemirror","editor-plugin","markdown","material-ui"],"created_at":"2024-08-02T13:01:29.022Z","updated_at":"2025-04-30T03:31:06.081Z","avatar_url":"https://github.com/diedsmiling.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Material-UI Markdown Editor :writing_hand:\nThis is a [React.js](https://github.com/facebook/react) Markdown editor component based on [material-ui](https://github.com/callemall/material-ui), built with [CodeMirror](https://github.com/codemirror/codemirror).  \n\n**It is alpha version yet**, any feedback is welcome!\n\n# Demo \u0026 Example\n\n**Live demo** can be found [here](https://diedsmiling.github.io/material-ui-markdown-editor/).\nTo build the examples locally, run:\n```\nnpm install\nnpm start\n```\n\nThen open [localhost:3000](http://localhost:3000/) in your browser.\n\nTo test application, run:\n\n```\nnpm test\n```\n\n# Installation\nVia npm:\n\n```\nnpm i material-ui-markdown-editor\n```\n\n# Usage\n\n*NOTE*: Codemirror styles and their *overrirde* should be included in the project keeping global selectors. In the following example, styles are included with the help of [css modules](https://github.com/css-modules/css-modules). Style's are not isolated by scope due to the reason, that rules generated by [CodeMirror](https://github.com/codemirror/codemirror) are  global. Might be solved in the feature.\n\n```js\nimport React from 'react'\nimport ReactDOM from 'react-dom'\nimport MuiThemeProvider from 'material-ui/styles/MuiThemeProvider'\nimport injectTapEventPlugin from 'react-tap-event-plugin'\nimport MarkdownEditor from 'material-ui-markdown-editor'\nimport 'codemirror/lib/codemirror.css' // import codemirror styles\nimport 'material-ui-markdown-editor/dist/MarkdownEditor/codemirrorOverride.css' // import override styles\n\ninjectTapEventPlugin()\n\nconst Example = () =\u003e (\n  \u003cMuiThemeProvider\u003e\n    \u003cMarkdownEditor\n      title=\"Foo\"\n      code=\"# Fancy markdown editor!\"\n    /\u003e\n  \u003c/MuiThemeProvider\u003e\n)\n\nReactDOM.render(\n  \u003cExample /\u003e,\n  document.getElementById('root')\n)\n```\n\n*PS*:\nThis [README.md](https://github.com/diedsmiling/material-ui-markdown-editor/blob/master/README.md) was written with this editor :new_moon_with_face:\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiedsmiling%2Fmaterial-ui-markdown-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiedsmiling%2Fmaterial-ui-markdown-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiedsmiling%2Fmaterial-ui-markdown-editor/lists"}