{"id":18982513,"url":"https://github.com/kid-1912/tiptap-extension-margin","last_synced_at":"2025-09-17T15:42:07.379Z","repository":{"id":220528392,"uuid":"751772174","full_name":"KID-1912/tiptap-extension-margin","owner":"KID-1912","description":"An extension that add margin to tiptap paragraph or more nodes.","archived":false,"fork":false,"pushed_at":"2024-02-02T09:46:33.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-01T11:42:45.249Z","etag":null,"topics":["extension","margin","paragraph","tiptap"],"latest_commit_sha":null,"homepage":"","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/KID-1912.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}},"created_at":"2024-02-02T09:45:44.000Z","updated_at":"2024-02-21T03:55:24.000Z","dependencies_parsed_at":"2024-02-02T15:51:01.939Z","dependency_job_id":null,"html_url":"https://github.com/KID-1912/tiptap-extension-margin","commit_stats":null,"previous_names":["kid-1912/tiptap-extension-margin"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KID-1912%2Ftiptap-extension-margin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KID-1912%2Ftiptap-extension-margin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KID-1912%2Ftiptap-extension-margin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KID-1912%2Ftiptap-extension-margin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KID-1912","download_url":"https://codeload.github.com/KID-1912/tiptap-extension-margin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239987136,"owners_count":19729751,"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":["extension","margin","paragraph","tiptap"],"created_at":"2024-11-08T16:13:49.218Z","updated_at":"2025-09-17T15:42:02.318Z","avatar_url":"https://github.com/KID-1912.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tiptap-extension-margin\n\n\u003ch3 align=\"center\"\u003e\n    An extension that add margin to tiptap paragraph or more nodes.\n\u003c/h3\u003e\n\n\u003cbr/\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca marginef=\"https://www.npmjs.com/package/tiptap-extension-margin\"\u003e\n    \u003cimg\n     alt=\"NPM URL\"\n     src=\"https://img.shields.io/badge/npm-tiptapExtensionMargin?logo=npm\"\u003e\n  \u003c/a\u003e\n  \u003cimg\n     alt=\"version\"\n     src=\"https://img.shields.io/badge/version-1.0.0-blue\"\u003e\n\u003c/p\u003e\n\n\u003cbr\u003e\n\n---\n\n## Install\n\n```shell\nnpm install tiptap-extension-margin -S\n```\n\n## Usage\n\n```js\nimport Margin from \"tiptap-extension-margin\";\n\nconst editor = new Editor({\n  element: document.querySelector(\".editor\"),\n  extensions: [StarterKit, Margin],\n});\n\n// { top, bottom, left, right }\neditor.chain().focus().setMargin({ top: \"10px\" }).run();\n```\n\n## Relations\n\n**tiptap:** https://tiptap.dev/\n\n**tiptap-appmsg-editor:** https://github.com/KID-1912/tiptap-appmsg-editor\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkid-1912%2Ftiptap-extension-margin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkid-1912%2Ftiptap-extension-margin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkid-1912%2Ftiptap-extension-margin/lists"}