{"id":13605353,"url":"https://github.com/dbtek/choo-md-editor","last_synced_at":"2025-09-10T00:37:25.802Z","repository":{"id":57198214,"uuid":"77054402","full_name":"dbtek/choo-md-editor","owner":"dbtek","description":"Markdown Editor built with Choo / for Choo.","archived":false,"fork":false,"pushed_at":"2017-07-17T04:58:58.000Z","size":303,"stargazers_count":5,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-22T19:11:30.291Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://dbtek.github.io/choo-md-editor","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/dbtek.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-12-21T13:35:32.000Z","updated_at":"2018-10-08T17:19:18.000Z","dependencies_parsed_at":"2022-09-16T13:10:50.524Z","dependency_job_id":null,"html_url":"https://github.com/dbtek/choo-md-editor","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbtek%2Fchoo-md-editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbtek%2Fchoo-md-editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbtek%2Fchoo-md-editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbtek%2Fchoo-md-editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dbtek","download_url":"https://codeload.github.com/dbtek/choo-md-editor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253748483,"owners_count":21957930,"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-01T19:00:57.714Z","updated_at":"2025-05-12T13:34:22.029Z","avatar_url":"https://github.com/dbtek.png","language":"JavaScript","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"Choo Markdown Editor [![Standard - JavaScript Style Guide](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)\n===\n\nMarkdown Editor built with Choo / for Choo. It can be used inside a Choo app or as a standalone library.\n\n![screenshot](ss.png)\n\n### Install\n```bash\n $ npm i -S choo-md-editor\n```\n\n### Usage\nchoo-md-editor depends on some parts of Bulma styles. If you use Bulma in your project use `choo-md-editor.bulma.css` instead of whole `choo-md-editor.css`.\n\nMaterial Icons are being used please include it's css too.\n\n```html\n\u003clink href=\"https://fonts.googleapis.com/icon?family=Material+Icons\" rel=\"stylesheet\"\u003e\n```\n\n#### Standalone Library\n```js\n  const element = document.getElementById('editor-container')\n  const editor = require('choo-md-editor')\n  editor(element, {onChange: (val) =\u003e console.info('Markdown changed', val)})\n```\n\n#### Inside choo app\n```js\n  app = choo()\n  ...\n  app.model(require('choo-md-editor/model'))\n  ...\n  const editor = require('choo-md-editor/component')\n  const mainView = (state, prev, send) =\u003e {\n    html `\n      \u003cdiv\u003e\n        $editor(state, send)\n      \u003c/div\u003e\n    `\n  }\n```\n\n### Credits\n - [Choo Framework](https://github.com/yoshuawuyts/choo)\n - [Bulma CSS Framework](http://bulma.io)\n - [Marked](https://github.com/chjj/marked)\n\n### Author\nİsmail Demirbilek [@dbtek](https://twitter.com/dbtek)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbtek%2Fchoo-md-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdbtek%2Fchoo-md-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbtek%2Fchoo-md-editor/lists"}