{"id":29024483,"url":"https://github.com/md2docx/jsx","last_synced_at":"2026-04-07T08:31:46.437Z","repository":{"id":299856721,"uuid":"984699352","full_name":"md2docx/jsx","owner":"md2docx","description":"A React-compatible renderer for MDAST that supports rendering extended Markdown (with HTML, Mermaid, and more) to both JSX and styled DOCX documents—using a unified syntax tree. Like react-markdown, but with document generation built-in","archived":false,"fork":false,"pushed_at":"2026-03-29T10:21:00.000Z","size":662,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-29T13:40:10.559Z","etag":null,"topics":["docx","javascript","jsx","markdown","mdast","mdast2docx","node","react","remark","typescript","unified","unifiedjs"],"latest_commit_sha":null,"homepage":"","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":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-05-16T11:08:02.000Z","updated_at":"2026-03-29T10:21:03.000Z","dependencies_parsed_at":"2025-07-20T10:12:00.615Z","dependency_job_id":"2f22b7c5-0313-43be-9d7b-4ada305cb3ea","html_url":"https://github.com/md2docx/jsx","commit_stats":null,"previous_names":["md2docx/jsx"],"tags_count":1,"template":false,"template_full_name":"md2docx/md2docx-plugin-template","purl":"pkg:github/md2docx/jsx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/md2docx%2Fjsx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/md2docx%2Fjsx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/md2docx%2Fjsx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/md2docx%2Fjsx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/md2docx","download_url":"https://codeload.github.com/md2docx/jsx/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/md2docx%2Fjsx/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31506562,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["docx","javascript","jsx","markdown","mdast","mdast2docx","node","react","remark","typescript","unified","unifiedjs"],"created_at":"2025-06-26T04:01:59.873Z","updated_at":"2026-04-07T08:31:46.421Z","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/jsx\n\n[![test](https://github.com/md2docx/jsx/actions/workflows/test.yml/badge.svg)](https://github.com/md2docx/jsx/actions/workflows/test.yml) [![Maintainability](https://api.codeclimate.com/v1/badges/aa896ec14c570f3bb274/maintainability)](https://codeclimate.com/github/md2docx/jsx/maintainability) [![codecov](https://codecov.io/gh/md2docx/jsx/graph/badge.svg)](https://codecov.io/gh/md2docx/jsx) [![Version](https://img.shields.io/npm/v/@m2d/jsx.svg?colorB=green)](https://www.npmjs.com/package/@m2d/jsx) [![Downloads](https://img.jsdelivr.com/img.shields.io/npm/d18m/@m2d/jsx.svg)](https://www.npmjs.com/package/@m2d/jsx) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/@m2d/jsx)\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/jsx\n```\n\n**_or_**\n\n```bash\nyarn add @m2d/jsx\n```\n\n**_or_**\n\n```bash\nnpm add @m2d/jsx\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%2Fjsx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmd2docx%2Fjsx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmd2docx%2Fjsx/lists"}