{"id":26704978,"url":"https://github.com/md2docx/md2docx-plugin-template","last_synced_at":"2026-04-15T08:39:21.044Z","repository":{"id":284508171,"uuid":"954632556","full_name":"md2docx/md2docx-plugin-template","owner":"md2docx","description":"This repository serves as a starting point for building plugins that extend the functionality of mdast2docx and @m2d/remark-docx. ","archived":false,"fork":false,"pushed_at":"2026-04-10T02:39:34.000Z","size":1522,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-10T04:26:21.997Z","etag":null,"topics":["javascript","markdown","md2docx","md2docx-plugin","mdast2docx","nodejs","plugin","remark-docx","remark-plugin","template","typescript"],"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-03-25T11:34:33.000Z","updated_at":"2026-04-10T02:39:40.000Z","dependencies_parsed_at":"2025-05-29T03:36:34.328Z","dependency_job_id":"f0429609-0d68-4157-a9da-71cf97531a7f","html_url":"https://github.com/md2docx/md2docx-plugin-template","commit_stats":null,"previous_names":["md2docx/md2docx-plugin-template"],"tags_count":5,"template":true,"template_full_name":"react18-tools/turborepo-template","purl":"pkg:github/md2docx/md2docx-plugin-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/md2docx%2Fmd2docx-plugin-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/md2docx%2Fmd2docx-plugin-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/md2docx%2Fmd2docx-plugin-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/md2docx%2Fmd2docx-plugin-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/md2docx","download_url":"https://codeload.github.com/md2docx/md2docx-plugin-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/md2docx%2Fmd2docx-plugin-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31833836,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T07:17:56.427Z","status":"ssl_error","status_checked_at":"2026-04-15T07:17:30.007Z","response_time":63,"last_error":"SSL_read: 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":["javascript","markdown","md2docx","md2docx-plugin","mdast2docx","nodejs","plugin","remark-docx","remark-plugin","template","typescript"],"created_at":"2025-03-27T05:19:54.351Z","updated_at":"2026-04-15T08:39:21.036Z","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":"## 🧩 Plugin Template for `mdast2docx` \u0026 `@m2d/remark-docx` \u003cimg src=\"https://raw.githubusercontent.com/mayank1513/mayank1513/main/popper.png\" style=\"height: 40px\"/\u003e\n\n[![test](https://github.com/md2docx/md2docx-plugin-template/actions/workflows/test.yml/badge.svg)](https://github.com/md2docx/md2docx-plugin-template/actions/workflows/test.yml) [![Maintainability](https://api.codeclimate.com/v1/badges/aa896ec14c570f3bb274/maintainability)](https://codeclimate.com/github/md2docx/md2docx-plugin-template/maintainability) [![codecov](https://codecov.io/gh/md2docx/md2docx-plugin-template/graph/badge.svg)](https://codecov.io/gh/md2docx/md2docx-plugin-template) [![Version](https://img.shields.io/npm/v/@m2d/emoji.svg?colorB=green)](https://www.npmjs.com/package/@m2d/emoji) [![Downloads](https://img.jsdelivr.com/img.shields.io/npm/d18m/@m2d/emoji.svg)](https://www.npmjs.com/package/@m2d/emoji) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/@m2d/emoji)\n\n\u003e This repository serves as a starting point for building plugins that extend the functionality of [`mdast2docx`](https://www.npmjs.com/package/mdast2docx), [`@m2d/core`](https://www.npmjs.com/package/@m2d/core) and [`@m2d/remark-docx`](https://www.npmjs.com/package/@m2d/remark-docx).\n\n\u003cdetails\u003e\n\u003csummary style=\"cursor:pointer\"\u003e\u003ch2 style=\"display:inline-block\"\u003eFeatures\u003c/h2\u003e\u003c/summary\u003e\n\nThis template offers the following pre-configured features. Additionally, your repository will automatically be re-branded with the help of workflows and post-install scripts.\n\n✅ Monorepo powered by Turborepo and GitHub actions for automating building, testing, and deploying your plugin library\n\n✅ Examples with Next.js, and Vite to showcase how your library can be utilized, also helps in quick manual testing\n\n✅ Examples pre-configured for Light/Dark theme based on user preference\n\n✅ Examples ready to be deployed to Vercel\n\n✅ Code of Conduct and contributing files, ready for customization\n\n✅ Prettier and linter configured according to modern best practices (Feel free to add your flavor)\n\n✅ Recommended VSCode extensions - Prettier and [Kanban board](https://github.com/mayank1513/vscode-extension-trello-kanban-board) for code formatting and project management directly within your IDE\n\n✅ Test setup with Vitest - A modern and fast testing framework supporting Jest-like APIs\n\n✅ Workflows to automate testing on every pull-request or code push event\n\n✅ Workflow to automatically publish and create GitHub releases when you update your library's `package.json` file.\n\n✅ Workflow to automatically rebrand the entire template based on your repository name. (Refer [TODO.md](./TODO.md))\n\n✅ Plus, this repo includes a quick checklist for configuring Codecov and other badges, setting up your docs website on GitHub pages, and more. See [Checklist](./TODO.md) or open TKB(Workspace) if you have installed the Trello-Kanban-Board extension.\n\n\u003c/details\u003e\n\n\u003e \u003cimg src=\"https://raw.githubusercontent.com/mayank1513/mayank1513/main/popper.png\" style=\"height: 20px\"/\u003e Star [this repository](https://github.com/md2docx/md2docx-plugin-template) and share it with your friends.\n\n---\n\n## Getting Started:\n\nThis template is based on [Turborepo Template](https://github.com/react18-tools/turborepo-template/). But this one is optimized for md2docx plugins. It includes pre-configured unit-tests, a lot of extra stuff provided by the turborepo-template is removed, and comes with dependencies and scripts optimized for md2docx plugin development.\n\nTo get started, simply click on the `\"Use this template\"` button to create a new repository based on this template, and install dependencies. Customize it according to your requirements for your next md2docx plugin.\n\nFor detailed instructions and a checklist, please refer to [TODO.md](./TODO.md).\n\n### 🤩 Don't forget to star [this repository](https://github.com/react18-tools/turborepo-template)!\n\nLooking for a hands-on course to get started with Turborepo? Check out [React and Next.js with TypeScript](https://mayank-chaudhari.vercel.app/courses/react-and-next-js-with-typescript) and [The Game of Chess with Next.js, React, and TypeScript](https://www.udemy.com/course/game-of-chess-with-nextjs-react-and-typescript/?referralCode=851A28F10B254A8523FE)\n\n---\n\n### 🧰 Helpful References\n\n- [`@m2d/core`](https://www.npmjs.com/package/@m2d/core) – Core MDAST to DOCX engine\n- [`@m2d/remark-docx`](https://www.npmjs.com/package/@m2d/remark-docx) – Remark plugin\n- [Unified Ecosystem](https://unifiedjs.com) – AST-based processors for markdown, html, etc.\n- [MDAST Spec](https://github.com/syntax-tree/mdast) – Markdown Abstract Syntax Tree\n\n---\n\n### 💡 Derive Ideas from existing Plugins\n\n- `@m2d/math`: Parse math blocks and convert to equation DOCX\n- `@m2d/image`: Convert Markdown/HTML images to inline DOCX images\n- `@m2d/html`: Parse raw HTML into extended MDAST with styles\n- `@m2d/table`: Advanced table support with merged cells, widths, styles\n\n---\n\n### 🙌 Contribute\n\nIf you’re building a plugin you'd like to share, let us know or open a PR in the [mdast2docx plugins repo](https://github.com/m2djs/mdast2docx)!\n\n\u003e \u003cimg src=\"https://raw.githubusercontent.com/mayank1513/mayank1513/main/popper.png\" style=\"height: 20px\"/\u003e Enrolling in [our courses](https://mayank-chaudhari.vercel.app/courses) or [sponsor](https://github.com/sponsors/mayank1513) our work.\n\n\u003chr /\u003e\n\n\u003cp align=\"center\" style=\"text-align:center\"\u003ewith 💖 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%2Fmd2docx-plugin-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmd2docx%2Fmd2docx-plugin-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmd2docx%2Fmd2docx-plugin-template/lists"}