{"id":15893134,"url":"https://github.com/lucarickli/mdie","last_synced_at":"2025-04-02T17:40:59.163Z","repository":{"id":189203054,"uuid":"680241285","full_name":"LucaRickli/mdie","owner":"LucaRickli","description":"Markdown inline editor","archived":false,"fork":false,"pushed_at":"2023-08-26T16:44:10.000Z","size":50,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T09:35:06.287Z","etag":null,"topics":["inline-editor","markdown-editor","markdown-inline-editor","md-editor"],"latest_commit_sha":null,"homepage":"https://lucarickli.github.io/mdie/","language":"TypeScript","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/LucaRickli.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":"2023-08-18T17:33:49.000Z","updated_at":"2023-08-18T18:21:09.000Z","dependencies_parsed_at":"2024-10-28T03:12:56.016Z","dependency_job_id":"bab885f7-8f0c-4cb2-890b-e124e577d68e","html_url":"https://github.com/LucaRickli/mdie","commit_stats":null,"previous_names":["lucarickli/mdie"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucaRickli%2Fmdie","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucaRickli%2Fmdie/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucaRickli%2Fmdie/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucaRickli%2Fmdie/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LucaRickli","download_url":"https://codeload.github.com/LucaRickli/mdie/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246863580,"owners_count":20846277,"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":["inline-editor","markdown-editor","markdown-inline-editor","md-editor"],"created_at":"2024-10-06T08:08:02.521Z","updated_at":"2025-04-02T17:40:59.140Z","avatar_url":"https://github.com/LucaRickli.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MDIE\n\nMarkdown inline editor.\n\n![workflow](https://img.shields.io/github/actions/workflow/status/lucarickli/mdie/pages.yml)\n![npm](https://img.shields.io/npm/v/%40lucarickli%2Fmdie)\n![size](https://img.shields.io/bundlejs/size/%40lucarickli%2Fmdie%400.0.3)\n\n\n- [Demo](https://lucarickli.github.io/mdie/)\n- [Documentation](https://lucarickli.github.io/mdie/docs)\n\n### Install\n\n```sh\nnpm i -S @lucarickli/mdie\n```\n\n### CSS\n\n\u003e **Note**\n\u003e A new line can be created by clicking onto the padding of a target child.\n\u003e Without this padding you wont be able to directly create new lines.\n\nThe editor itself does not come with any css, instead it adds the class tag `mdie` to the target.\nHere is a snippet to include in your app for a basic working example.\n\n```css\n.mdie \u003e * {\n  padding-bottom: 8px;\n}\n```\n\n### Example\n\n```ts\nimport Mdie from '@lucarickli/mdie'\nimport marked from 'marked'\n\nconst editor = new Mdie({\n  target: document.body,\n  markdown: `# Hello world`,\n  parse: (md) =\u003e marked.parse(md) // 3rd party library\n})\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucarickli%2Fmdie","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucarickli%2Fmdie","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucarickli%2Fmdie/lists"}