{"id":27002941,"url":"https://github.com/md2docx/mdast","last_synced_at":"2025-04-04T05:14:31.323Z","repository":{"id":284723746,"uuid":"955830166","full_name":"md2docx/mdast","owner":"md2docx","description":"Extended MDAST types and custom node data for mdast2docx with support for DOCX formatting.","archived":false,"fork":false,"pushed_at":"2025-04-03T16:13:16.000Z","size":881,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T17:26:31.426Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/md2docx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"contributing.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["md2docx","mayank1513"],"polar":"mayank1513","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":["https://pages.razorpay.com/mayank1513"]}},"created_at":"2025-03-27T09:10:21.000Z","updated_at":"2025-04-03T16:13:20.000Z","dependencies_parsed_at":"2025-04-03T17:23:46.443Z","dependency_job_id":null,"html_url":"https://github.com/md2docx/mdast","commit_stats":null,"previous_names":["md2docx/mdast"],"tags_count":2,"template":false,"template_full_name":"md2docx/md2docx-plugin-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/md2docx%2Fmdast","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/md2docx%2Fmdast/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/md2docx%2Fmdast/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/md2docx%2Fmdast/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/md2docx","download_url":"https://codeload.github.com/md2docx/mdast/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247123087,"owners_count":20887261,"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":"2025-04-04T05:14:30.736Z","updated_at":"2025-04-04T05:14:31.312Z","avatar_url":"https://github.com/md2docx.png","language":"TypeScript","funding_links":["https://github.com/sponsors/md2docx","https://github.com/sponsors/mayank1513","https://polar.sh/mayank1513","https://pages.razorpay.com/mayank1513"],"categories":[],"sub_categories":[],"readme":"# @m2d/mdast\n\n[![test](https://github.com/md2docx/mdast/actions/workflows/test.yml/badge.svg)](https://github.com/md2docx/mdast/actions/workflows/test.yml) [![Maintainability](https://api.codeclimate.com/v1/badges/aa896ec14c570f3bb274/maintainability)](https://codeclimate.com/github/md2docx/mdast/maintainability) [![codecov](https://codecov.io/gh/md2docx/mdast/graph/badge.svg)](https://codecov.io/gh/md2docx/mdast) [![Version](https://img.shields.io/npm/v/@m2d/mdast.svg?colorB=green)](https://www.npmjs.com/package/@m2d/mdast) [![Downloads](https://img.jsdelivr.com/img.shields.io/npm/d18m/@m2d/mdast.svg)](https://www.npmjs.com/package/@m2d/mdast) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/@m2d/mdast)\n\n\u003e Emoji shortcode support for `mdast2docx`\n\nThis plugin adds support for emoji shortcodes (e.g., `:smile:`, `:rocket:`) in your Markdown-to-DOCX conversion pipeline. It replaces recognized emoji shortcodes with their corresponding Unicode characters during the MDAST transformation.\n\n---\n\n## ✨ Features\n\n- Converts emoji shortcodes to Unicode emojis (e.g., `:tada:` → 🎉)\n- Compatible with [`@m2d/core`](https://www.npmjs.com/package/@m2d/core)\n- Works seamlessly within the `mdast2docx` plugin ecosystem\n- Easy to integrate and lightweight\n\n---\n\n## 📦 Installation\n\n```bash\npnpm install @m2d/mdast\n```\n\n**_or_**\n\n```bash\nyarn add @m2d/mdast\n```\n\n**_or_**\n\n```bash\nnpm add @m2d/mdast\n```\n\n---\n\n## 🧠 How It Works\n\nThis plugin scans all text nodes for emoji shortcodes (e.g., `:fire:`, `:sparkles:`) and replaces them with matching Unicode emojis using a predefined emoji JSON mapping.\n\n---\n\n## 🔍 Emoji Support\n\nIt uses the [GitHub-style emoji shortcodes](https://github.com/ikatyang/emoji-cheat-sheet) and more — if a shortcode is not recognized, it will remain unchanged.\n\n---\n\n## 🛠️ Development\n\n```bash\n# Clone and install dependencies\ngit clone https://github.com/md2docx/emoji-plugin\ncd emoji-plugin\nnpm install\n\n# Build / Test / Dev\nnpm run build\n```\n\n---\n\n## 📄 License\n\nLicensed under the **MPL-2.0** License.\n\n---\n\n## ⭐ Support Us\n\nIf you find this useful:\n\n- ⭐ Star [mdast2docx](https://github.com/md2docx/mdast2docx) on GitHub\n- ❤️ Consider [sponsoring](https://github.com/sponsors/mayank1513)\n\n---\n\n\u003cp align=\"center\"\u003eMade with 💖 by \u003ca href=\"https://mayank-chaudhari.vercel.app\" target=\"_blank\"\u003eMayank Kumar Chaudhari\u003c/a\u003e\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmd2docx%2Fmdast","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmd2docx%2Fmdast","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmd2docx%2Fmdast/lists"}