{"name":"@putout/plugin-markdown","version":"1.0.1","keywords":["putout","putout-plugin","putout-plugin-remove","plugin","debugger"],"author":{"url":"https://github.com/coderaiser","name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"license":"MIT","_id":"@putout/plugin-markdown@1.0.1","maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-markdown#readme","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"tag":false,"dist":{"shasum":"7803347eda58abd7f3ad421b3832d0cfec03ee7a","tarball":"http://registry-npm.ywwl.com/@putout/plugin-markdown/download/@putout/plugin-markdown-1.0.1.tgz","fileCount":7,"integrity":"sha512-sDTHItfQ+EyFPy500MLRbC56U6eedKo4weSWTRz5MnsCQSIF4sWigB22rdopHEJE4Jv489tEW2Lo/1ZYdcSOHA==","signatures":[{"sig":"MEYCIQCjXLokSrdWRZM7Nx1HsYvxY6HtN23ApP1uOaI7+mxdAQIhAOEAnLHdFv4L6cGuB9A9Uqm/p/wocCyODmnBAX44g+X3","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4825,"size":2365,"noattachment":false,"key":"/@putout/plugin-markdown/-/@putout/plugin-markdown-1.0.1.tgz"},"main":"lib/index.js","type":"module","engines":{"node":">=22"},"gitHead":"f465ac0d1ac5979fba316c54bc34cf241e082db8","release":false,"scripts":{"lint":"madrun lint","test":"madrun test","report":"madrun report","coverage":"madrun coverage","fix:lint":"madrun fix:lint","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","watch:test":"madrun watch:test"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"changelog":false,"repository":{"url":"git+https://github.com/coderaiser/putout.git","type":"git"},"_npmVersion":"11.4.2","description":"🐊Putout plugin adds ability to improve markdown","directories":{},"_nodeVersion":"26.3.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^10.0.0","madrun":"^13.0.0","nodemon":"^3.0.1","redlint":"^6.0.0","superc8":"^12.0.0","@putout/test":"^15.0.0","eslint-plugin-putout":"^31.0.0"},"peerDependencies":{"putout":">=42"},"_npmOperationalInternal":{"tmp":"tmp/plugin-markdown_1.0.1_1781304610756_0.2913705886924851","host":"s3://npm-registry-packages-npm-production"},"readme":"# @putout/plugin-markdown [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-markdown.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-markdown \"npm\"\n\n> Markdown is a lightweight markup language that you can use to add formatting elements to plaintext text documents.\n>\n> (c) [markdownguide.org](https://www.markdownguide.org/getting-started/)\n\n🐊[**Putout**](https://github.com/coderaiser/putout) plugin adds ability to improve markdown.\n\n## Install\n\n```\nnpm i @putout/plugin-markdown -D\n```\n\n## Rules\n\n- ✅ [merge-heading-spaces](#merge-heading-spaces);\n- ✅ [remove-dependencies-status-badge](#remove-dependencies-status-badge);\n- ✅ [remove-trailing-whitespaces-from-heading](#remove-trailing-whitespaces-from-heading);\n- ✅ [split-link-with-title](#split-link-with-title);\n\n## Filesystem\n\n- ✅ [apply-ts-codeblock-in-file](#apply-ts-codeblock-in-file)\n\n## Config\n\n```json\n{\n    \"rules\": {\n        \"markdown/apply-ts-codeblock-in-file\": \"on\",\n        \"markdown/merge-heading-spaces\": \"on\",\n        \"markdown/remove-dependencies-status-badge\": \"on\",\n        \"markdown/remove-trailing-whitespaces-from-heading\": \"on\",\n        \"markdown/split-link-with-title\": \"on\"\n    }\n}\n```\n\n### merge-heading-spaces\n\nCheckout in 🐊[**Putout Editor**](https://putout.cloudcmd.io/#/gist/f06796710b86267ac94715381e5d2217/8e05a45fe260926959ba4289c7d692b0597c94e1).\n\n## ❌ Example of incorrect code\n\n```markdown\n# hello  world\n```\n\n## ✅ Example of correct code\n\n```markdown\n# hello world\n```\n\n### split-link-with-title\n\nAdd space between title and link.\nCheckout in 🐊[**Putout Editor**](https://putout.cloudcmd.io/#/gist/bf9a07fde5114c7aee28df42ea3f7ad6/e6e732523ec0a87f091a189fca6ad44d6a317fd3).\n\n```diff\n# @putout/plugin-apply-replace-all [![NPM version][NPMIMGURL]][NPMURL]\n[NPMIMGURL]:                https://img.shields.io/npm/v/@putout/plugin-apply-replace-all.svg?style=flat&longCache=true\n-[NPMURL]:                   https://npmjs.org/package/@putout/plugin-apply-replace-all\"npm\"\n+[NPMURL]:                   https://npmjs.org/package/@putout/plugin-apply-replace-all \"npm\"\n-[hello](https://google.com\"Google\")\n+[hello](https://google.com \"Google\")\n```\n\n### remove-dependencies-status-badge\n\nCheckout in 🐊[**Putout Editor**](https://putout.cloudcmd.io/#/gist/7e5d9f5999a752a61ccab9ff7386af4b/dfaa235758a5b64e7478e7e5bac5d741646f84db).\n\n```diff\n-# @putout/plugin-apply-replace-all [![NPM version][NPMIMGURL]][NPMURL] [![Dependency Status][DependencyStatusIMGURL]][DependencyStatusURL]\n+# @putout/plugin-apply-replace-all [![NPM version][NPMIMGURL]][NPMURL]\n[NPMIMGURL]:                https://img.shields.io/npm/v/@putout/plugin-apply-replace-all.svg?style=flat&longCache=true\n[NPMURL]:                   https://npmjs.org/package/@putout/plugin-apply-replace-all \"npm\"\n-\n-[DependencyStatusURL]:      https://david-dm.org/coderaiser/putout?path=packages/plugin-apply-replace-all\n-[DependencyStatusIMGURL]:   https://david-dm.org/coderaiser/putout.svg?path=packages/plugin-apply-replace-all\n```\n\n### remove-trailing-whitespaces-from-heading\n\nCheckout in 🐊[**Putout Editor**](https://putout.cloudcmd.io/#/gist/f11d7152b8edaf548d990318342a7e23/3946f2be3f65a11fec739a8639dad4c96254b6d8).\n\n```diff\n-# @putout/plugin-apply-replace-all [![NPM version][NPMIMGURL]][NPMURL] [![Dependency Status][DependencyStatusIMGURL]][DependencyStatusURL] hello␣\n+# @putout/plugin-apply-replace-all [![NPM version][NPMIMGURL]][NPMURL] [![Dependency Status][DependencyStatusIMGURL]][DependencyStatusURL] hello\n```\n\n## apply-ts-codeblock-in-file\n\nCheckout in 🐊[**Putout Editor**](https://putout.cloudcmd.io/#/gist/7ae48ca6533eef3858f58b94a8d8e27d/392e8d9b76d69df8aa5d649e84874d18d36fe6fb).\n\n### ❌ Example of incorrect code\n\n```md\n\\`\\`\\`js\nconst result: string[] = [];\n\\`\\`\\`\n```\n\n### ✅ Example of correct code\n\n```md\n\\`\\`\\`ts\nconst result: string[] = [];\n\\`\\`\\`\n```\n\n## License\n\nMIT\n","publish_time":1781304610897,"_cnpm_publish_time":1781304610897,"dist-tags":{"latest":"1.5.1"}}