{"_id":"remark-directive-rehype","_rev":"10-4d20a38609bd963d1f684d29095f0876","name":"remark-directive-rehype","dist-tags":{"latest":"1.0.0"},"versions":{"0.1.0":{"name":"remark-directive-rehype","version":"0.1.0","keywords":["remark","remark-directive","rehype","unified","mdast","hast","plugin"],"author":{"url":"https://igassmann.me","name":"Igor Gassmann","email":"igor@igassmann.me"},"license":"Unlicense","_id":"remark-directive-rehype@0.1.0","maintainers":[{"name":"igassmann","email":"igor@igassmann.me"}],"homepage":"https://github.com/IGassmann/remark-directive-rehype#readme","bugs":{"url":"https://github.com/IGassmann/remark-directive-rehype/issues"},"dist":{"shasum":"437a160b4cf25cdaccf1aadbc7e9f13de78e6922","tarball":"https://registry.npmjs.org/remark-directive-rehype/-/remark-directive-rehype-0.1.0.tgz","fileCount":2,"integrity":"sha512-4mfRc76NXeMXWdQEtjC19Uh0+7+IZsjyH7xnkPF4K2j4g4jH+3L6t9lMI3M79iyz1YJXJ7wYvH23PqGwB7h7Sw==","signatures":[{"sig":"MEUCIQDNr7B4cq842BnktDLju5SCii6PQk7ACv3Y4RaczfmfZQIgawSuOrg05y3m/UzgfUN7mAnj6lvSlfoYCQvpq4g/lic=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1144},"type":"module","types":"./dist/index.d.ts","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"exports":"./dist/index.js","scripts":{"build":"tsc","prepack":"$npm_execpath run build"},"_npmUser":{"name":"igassmann","email":"igor@igassmann.me"},"repository":{"url":"https://github.com/IGassmann/remark-directive-rehype","type":"git"},"description":"Remark plugin that integrates remark-directive with remark-rehype","directories":{},"dependencies":{"unified":"^10.1.0","hastscript":"^7.0.2","unist-util-map":"^3.0.0"},"_hasShrinkwrap":false,"packageManager":"yarn@^1.22.17","devDependencies":{"typescript":"^4.4.4","mdast-util-directive":"^2.1.1","mdast-util-from-markdown":"^1.0.4"},"_npmOperationalInternal":{"tmp":"tmp/remark-directive-rehype_0.1.0_1636720368254_0.4492106121728401","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"remark-directive-rehype","version":"0.1.1","keywords":["remark","remark-directive","rehype","unified","mdast","hast","plugin"],"author":{"url":"https://igassmann.me","name":"Igor Gassmann","email":"igor@igassmann.me"},"license":"Unlicense","_id":"remark-directive-rehype@0.1.1","maintainers":[{"name":"igassmann","email":"igor@igassmann.me"}],"homepage":"https://github.com/IGassmann/remark-directive-rehype#readme","bugs":{"url":"https://github.com/IGassmann/remark-directive-rehype/issues"},"dist":{"shasum":"ef5eaea3c42631d5faf76d25d700d97b627f823b","tarball":"https://registry.npmjs.org/remark-directive-rehype/-/remark-directive-rehype-0.1.1.tgz","fileCount":5,"integrity":"sha512-9QVb28feOwWeOs7k3b1DMNO+Wgt1yzRWxW8h3ZtpLmSDLHUmctLThhhkEmV1IKQPMLvGS/w1pNbvL37EElt7/g==","signatures":[{"sig":"MEQCIGNY9FXLaVJ7Z6APUvNfEt5KDdfOFd4HRVeGIuHRb951AiA7am5/jvUuPPySlmU7a0gVqx0EI3jYQbqdDM6XhnvRIQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1983},"type":"module","types":"./dist/index.d.ts","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"exports":"./dist/index.js","scripts":{"build":"tsc","prepack":"$npm_execpath run build"},"_npmUser":{"name":"igassmann","email":"igor@igassmann.me"},"repository":{"url":"https://github.com/IGassmann/remark-directive-rehype","type":"git"},"description":"Remark plugin that integrates remark-directive with remark-rehype","directories":{},"dependencies":{"unified":"^10.1.0","hastscript":"^7.0.2","unist-util-map":"^3.0.0"},"_hasShrinkwrap":false,"packageManager":"yarn@^1.22.17","devDependencies":{"typescript":"^4.4.4","mdast-util-directive":"^2.1.1","mdast-util-from-markdown":"^1.0.4"},"_npmOperationalInternal":{"tmp":"tmp/remark-directive-rehype_0.1.1_1636720652997_0.6787802384668662","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"remark-directive-rehype","version":"0.2.0","keywords":["remark","plugin","remark-plugin","directive","remark-directive","rehype","unified","mdast","hast","markdown"],"author":{"url":"https://igassmann.me","name":"Igor Gassmann","email":"igor@igassmann.me"},"license":"Unlicense","_id":"remark-directive-rehype@0.2.0","maintainers":[{"name":"igassmann","email":"igor@igassmann.me"}],"homepage":"https://github.com/IGassmann/remark-directive-rehype#readme","bugs":{"url":"https://github.com/IGassmann/remark-directive-rehype/issues"},"dist":{"shasum":"77daa1d1994e091ded82587c540d758def67b14f","tarball":"https://registry.npmjs.org/remark-directive-rehype/-/remark-directive-rehype-0.2.0.tgz","fileCount":6,"integrity":"sha512-pV58rOMXYGggyMZeFzQObOYPJyj/OiPfh5/hbqRuri9vC2o1jdUrxsEPzJA3F/Y+Zov6mrSyq2bbB2rhSKi7Eg==","signatures":[{"sig":"MEUCIQD4Tu+5a2tX74gh+SjoJOMD+/v5g8xTyCJ6reiAvhNYIAIgfmmslnAf2wDypDhYmvKRwySQXhuOyq/mqLDbxYckcB0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14144},"type":"module","types":"./dist/index.d.ts","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"exports":"./dist/index.js","scripts":{"build":"tsc","prepack":"$npm_execpath run build"},"_npmUser":{"name":"igassmann","email":"igor@igassmann.me"},"repository":{"url":"https://github.com/IGassmann/remark-directive-rehype","type":"git"},"description":"Remark plugin that integrates remark-directive with remark-rehype.","directories":{},"dependencies":{"hastscript":"^7.0.2","unist-util-map":"^3.0.0"},"_hasShrinkwrap":false,"packageManager":"yarn@^1.22.17","devDependencies":{"unified":"^10.1.0","typescript":"^4.4.4","mdast-util-directive":"^2.1.1","mdast-util-from-markdown":"^1.0.4"},"_npmOperationalInternal":{"tmp":"tmp/remark-directive-rehype_0.2.0_1636725069384_0.0889926096907303","host":"s3://npm-registry-packages"}},"0.3.0":{"name":"remark-directive-rehype","version":"0.3.0","keywords":["remark","plugin","remark-plugin","directive","remark-directive","rehype","unified","mdast","hast","markdown"],"author":{"url":"https://igassmann.me","name":"Igor Gassmann","email":"igor@igassmann.me"},"license":"Unlicense","_id":"remark-directive-rehype@0.3.0","maintainers":[{"name":"igassmann","email":"igor@igassmann.me"}],"homepage":"https://github.com/IGassmann/remark-directive-rehype#readme","bugs":{"url":"https://github.com/IGassmann/remark-directive-rehype/issues"},"dist":{"shasum":"567d02f390670cf6e062d19abb2eb30be25d356f","tarball":"https://registry.npmjs.org/remark-directive-rehype/-/remark-directive-rehype-0.3.0.tgz","fileCount":6,"integrity":"sha512-iBGnLTY/x6Y2FnzFbNfxM9+An/ojsuuG5eU/LWm1e2VzG9ZkJP0HrGNw+z8zzntGixHOS/LhLNDR1sLJoS5ogw==","signatures":[{"sig":"MEQCIFUxgA2xC6z6X+j1/mlgSLOSIirUyOHW0oh6UHurHBYFAiBHc1H41w7UqAd2F3oz2aZOajQBGx3Ir7xhYG85kWFHqg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7049},"type":"module","types":"./dist/index.d.ts","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"exports":"./dist/index.js","scripts":{"build":"tsc","prepack":"$npm_execpath run build"},"_npmUser":{"name":"igassmann","email":"igor@igassmann.me"},"repository":{"url":"https://github.com/IGassmann/remark-directive-rehype","type":"git"},"description":"Remark plugin to enable Markdown directives to be parsed as HTML.","directories":{},"dependencies":{"hastscript":"^7.0.2","unist-util-map":"^3.0.0"},"_hasShrinkwrap":false,"packageManager":"yarn@^1.22.17","devDependencies":{"typescript":"^4.4.4","mdast-util-directive":"^2.1.1","mdast-util-from-markdown":"^1.0.4"},"peerDependencies":{"unified":"10.x","remark-rehype":"9.x || 10.x","remark-directive":"2.x"},"_npmOperationalInternal":{"tmp":"tmp/remark-directive-rehype_0.3.0_1636971872820_0.46475201446867453","host":"s3://npm-registry-packages"}},"0.4.0":{"name":"remark-directive-rehype","version":"0.4.0","keywords":["remark","plugin","remark-plugin","directive","remark-directive","rehype","unified","mdast","hast","markdown"],"author":{"url":"https://igassmann.me","name":"Igor Gassmann","email":"igor@igassmann.me"},"license":"Unlicense","_id":"remark-directive-rehype@0.4.0","maintainers":[{"name":"igassmann","email":"igor@igassmann.me"}],"homepage":"https://github.com/IGassmann/remark-directive-rehype#readme","bugs":{"url":"https://github.com/IGassmann/remark-directive-rehype/issues"},"dist":{"shasum":"a072d252ca7c7301dd8b6b36692e93daa2b20735","tarball":"https://registry.npmjs.org/remark-directive-rehype/-/remark-directive-rehype-0.4.0.tgz","fileCount":6,"integrity":"sha512-RrcjHXJ566myykjUIx3UNFxrAfHxFJeGK1jF8uqrxq5sBxO8YRBkg/W4640wqX5NCXny7khrqH23Dag8kYCl5A==","signatures":[{"sig":"MEUCICv6/jSJ+8X/YsvRMRZdsYUSHtoqlO0DA71UoOns9IXTAiEAuNKfbIQ/OFQX5sk/E2iEKSmr7XN4qiOlW6sb5BBjNE0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7004,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh25nuCRA9TVsSAnZWagAApZoP/2cPif7sqwiOmPjk6v3r\nqX2Oo0h0JCbKTbo1lESLEFaXXngAKbze1j8GuNaO2Kbjxou+eJWFEyK1KPqQ\nRHAVc8OUZlCRk83x5Xf6F9CjCmQcejWh+l+jF+eveGGIAiRp8DciS/M2X4Nk\nf3FinhBWwaWm6+pm4e/mjR7ekuDDqSv0f4aoPxiRw6IfoNhGm/SYKtGiJMoK\nnZ/hbLV9TLPwdMAsATz4kiRR9bKqHFEANpiy+6KPD3rTzzNOcpTFgvETwnT4\ns8b4fVQaYy/aNFL/BYTA/C6kK03a86nKlz74q1fhBKvcCw2UDbpWVNraqPoR\nhGSXVdMNpxdpI0PuG3pgosEsQmFKF/EOMDdZchA5PHzHga8pVdrYDN6oG9NF\nbnGTAwnMtbWmLMB2Iiw935FRqR6IVUXAGbcMbn5NVWjfBHrcUw8qINyIg6UM\n9jbQ/RY42Top2Q70Rxprfi4mL7gh4cmLotpsobjHszwqQjFSs49MojERb1YK\nsPPmXkqGwBO8rTcclniikOTJuLgApBpTa7JBuEvqPM+/MZF1AHsDAaCmjNgD\nR1lIsX0BtBfhnMTh0vGy5g3Qlqh+6d/jz1YIwYvcp4hF/0SzLb8WEHIQ2Duh\nb6aGmiyX0AMTAiXqiYawe+czs5GUZAH3PxWvsOlbMaLP51G3N7oGIbJlSRxz\nW4tu\r\n=ohql\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"./dist/index.d.ts","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"exports":"./dist/index.js","scripts":{"build":"tsc","prepack":"$npm_execpath run build"},"_npmUser":{"name":"igassmann","email":"igor@igassmann.me"},"repository":{"url":"https://github.com/IGassmann/remark-directive-rehype","type":"git"},"description":"Remark plugin to enable Markdown directives to be parsed as HTML.","directories":{},"dependencies":{"hastscript":"^7.0.2","unist-util-map":"^3.0.0"},"_hasShrinkwrap":false,"packageManager":"yarn@^1.22.17","devDependencies":{"unified":"^10.1.0","typescript":"^4.4.4","mdast-util-directive":"^2.1.1","mdast-util-from-markdown":"^1.0.4"},"_npmOperationalInternal":{"tmp":"tmp/remark-directive-rehype_0.4.0_1636994256025_0.7926074849034073","host":"s3://npm-registry-packages"}},"0.4.1":{"name":"remark-directive-rehype","version":"0.4.1","keywords":["remark","plugin","remark-plugin","directive","remark-directive","rehype","unified","mdast","hast","markdown"],"author":{"url":"https://igassmann.me","name":"Igor Gassmann","email":"igor@igassmann.me"},"license":"Unlicense","_id":"remark-directive-rehype@0.4.1","maintainers":[{"name":"igassmann","email":"igor@igassmann.me"}],"homepage":"https://github.com/IGassmann/remark-directive-rehype#readme","bugs":{"url":"https://github.com/IGassmann/remark-directive-rehype/issues"},"dist":{"shasum":"98ac6c49fd6d791af89b29eae676eb16e896a7ca","tarball":"https://registry.npmjs.org/remark-directive-rehype/-/remark-directive-rehype-0.4.1.tgz","fileCount":6,"integrity":"sha512-7LJQo9cG/DVApJMni45W3yrrxmzzGhZvkt2i6YIIdh0xnbffDGegkN/3vlu+8qr9ycCUdY9+jP4qHVv9slkf/g==","signatures":[{"sig":"MEYCIQDe50NZWccal6unUoX/TiY00ZFdfQQ1ptjgMKoLsWypxwIhAN3g5LA3D8gtXgfEi+gwT1toqdLbtAl8HknitemjdGEj","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7032,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjMfqaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoA1A//U86PvlhsrBqwgvB2VuGtFKvMy2vMc6G2rjiVHx9YpYTd94RH\r\ngEKx47h3C98rUVWppwESyszF0qO53M/lQaVoXNTlinwOAlqe6x3d2L6Z/hPu\r\nATyCh2IhZ7UZoKK/ynOrhVYSjcXM9R3YBT18eyq9GSSlgmsVw9KTFsBGpRcE\r\n7aFlwkyhIK54yUflf9vej7tOyiIumnfW/vMM+B4Zk6B5I6zr/m+qym83nLUp\r\nHY+/9JLNwCY3ABrV7Xe4QZhh7nH9T2+sPFPA5vzZy3pKTAK6omRzxRg6U8qp\r\nuZhLu342djW8N3XdiD/9N5PjG1g8cU8wjRwHzZw6O+Wd8z2Han/1wOjwGUas\r\nSfJIVWLqvOGj/3kJdrlttsavHaOsxBFx8gg0I7GhzqZGHYY4F462VyNsAuSW\r\naYEnEHcOvHhB6GK4c87ThoxEQ9dr6xbc8r4FVQJkuHvP0q5hP7AimHSSjfqB\r\nrvXN7PxTc9CiYcRbb8VUC0+7lnnVJhz99LAd+oXeVSBCTklvpgmD6FbxIoIT\r\nScXiHNZND6N3COLkVlFy19VMAnr1cKJjK3PT8/4AoBcQuBzjPtuBr09lf2RY\r\nRMeeSRFa6/JWBbrseaXiwqXkPG3IhRy7rpO9E4f27XrRmsFUkgPP3eDS35DA\r\nQCFNR+LS6LQbZykzXiR7njdA5SI0HNmb9JU=\r\n=u+QD\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"./dist/index.d.ts","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"exports":"./dist/index.js","scripts":{"build":"tsc","prepack":"$npm_execpath run build"},"_npmUser":{"name":"igassmann","email":"igor@igassmann.me"},"repository":{"url":"https://github.com/IGassmann/remark-directive-rehype","type":"git"},"description":"Remark plugin to enable Markdown directives to be parsed as HTML.","directories":{},"licenseText":"This is free and unencumbered software released into the public domain.\n\nAnyone is free to copy, modify, publish, use, compile, sell, or\ndistribute this software, either in source code form or as a compiled\nbinary, for any purpose, commercial or non-commercial, and by any\nmeans.\n\nIn jurisdictions that recognize copyright laws, the author or authors\nof this software dedicate any and all copyright interest in the\nsoftware to the public domain. We make this dedication for the benefit\nof the public at large and to the detriment of our heirs and\nsuccessors. We intend this dedication to be an overt act of\nrelinquishment in perpetuity of all present and future rights to this\nsoftware under copyright law.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR\nOTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\nARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\nOTHER DEALINGS IN THE SOFTWARE.\n\nFor more information, please refer to <https://unlicense.org>\n","dependencies":{"hastscript":"^7.0.2","unist-util-map":"^3.1.1"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.19","devDependencies":{"unified":"^10.1.0","typescript":"^4.4.4","@types/unist":"^2.0.6","mdast-util-directive":"^2.1.1","mdast-util-from-markdown":"^1.0.4"},"_npmOperationalInternal":{"tmp":"tmp/remark-directive-rehype_0.4.1_1664219801879_0.967396407180857","host":"s3://npm-registry-packages"}},"0.4.2":{"name":"remark-directive-rehype","version":"0.4.2","keywords":["remark","plugin","remark-plugin","directive","remark-directive","rehype","unified","mdast","hast","markdown"],"author":{"url":"https://igassmann.me","name":"Igor Gassmann","email":"igor@igassmann.me"},"license":"Unlicense","_id":"remark-directive-rehype@0.4.2","maintainers":[{"name":"igassmann","email":"igor@igassmann.me"}],"homepage":"https://github.com/IGassmann/remark-directive-rehype#readme","bugs":{"url":"https://github.com/IGassmann/remark-directive-rehype/issues"},"dist":{"shasum":"044040455523a3281a7be7fdde304714d29021b5","tarball":"https://registry.npmjs.org/remark-directive-rehype/-/remark-directive-rehype-0.4.2.tgz","fileCount":6,"integrity":"sha512-T6e+IG+BwqU4++MK54vFb+KDFjs3a+tHeK6E0T0ctR1FSyngolfDtAEzqxHWlRzQZqGi2sB4DFXry6oqH87D/g==","signatures":[{"sig":"MEUCIEdZHRoXKAPYnU7x8NFjdXiL7P8e1bLKhSClwBHHHbh3AiEAmY0uYBPB7XNDiwETQHlL7mmydIXhpcPzGRHN3wWfbZY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7032,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjNSrgACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmphMg/+JhKjEx+OwIebJ3ffo9jUJINx1nYbIsOoklfth6qAT2VPPlZK\r\nm2HnhdubKjSltZ3gF2I4dStJCbfdAb80BnPLWlAHH7tLS0A0UVde8/M6IG2y\r\n/D/Bokfq+RPGUE/Pd6iS7armtkzL/DoZO4l4BCLoHyi5iI73+16XqqTB/i11\r\nFc4Vd+89dsIRRHx2Tn/PkHBXeejKVXVBmhqizmTwDL0zy43tba+Pg0jyuQG9\r\nW/ISWZVlM0I+kWd0+3j20tyhUV6xTRUB/3Db1VpywTXntI5KhQnJAXQtBnpQ\r\nLyxEjo6M7ykgUOe9WUOOvP54j8wCnBfkBxCggWQ9+Pe7em6tlEuSa+Zj9MCN\r\nPEkDuGHCfNZSVAtRsHgEF8pKc/TpRzDVgKhlM7l2dFL3uKjZRdQ64Pi69b+S\r\ntS8eQyM+9n0ufEqL/AhYEVYwGGpvNlMjp+dzmYVkEQT0TPTOHxOx33pcA8ld\r\nfiPatfhQYJs6146KSHeGTXOL5lyl5wwaYhTsq/7Z6urW9tE+uAPwETIc5Upj\r\nE6vF/wRdxIQMvM/DV1wNyCSIRllnq14D8sF8137k7e5NG2dgoNvy68e1xgOO\r\n3XMUWJqazgCl8cFLnFKeBe2moagRLo1gulgJuyvQwMX/NiM6/uCKRLWt1Rz2\r\nPr9ZylIivmOhpRu98gaxVPTjqca3dGfrCiQ=\r\n=ALEV\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"./dist/index.d.ts","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"exports":"./dist/index.js","scripts":{"build":"tsc","prepack":"$npm_execpath run build"},"_npmUser":{"name":"igassmann","email":"igor@igassmann.me"},"repository":{"url":"https://github.com/IGassmann/remark-directive-rehype","type":"git"},"description":"Remark plugin to enable Markdown directives to be parsed as HTML.","directories":{},"licenseText":"This is free and unencumbered software released into the public domain.\n\nAnyone is free to copy, modify, publish, use, compile, sell, or\ndistribute this software, either in source code form or as a compiled\nbinary, for any purpose, commercial or non-commercial, and by any\nmeans.\n\nIn jurisdictions that recognize copyright laws, the author or authors\nof this software dedicate any and all copyright interest in the\nsoftware to the public domain. We make this dedication for the benefit\nof the public at large and to the detriment of our heirs and\nsuccessors. We intend this dedication to be an overt act of\nrelinquishment in perpetuity of all present and future rights to this\nsoftware under copyright law.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR\nOTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\nARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\nOTHER DEALINGS IN THE SOFTWARE.\n\nFor more information, please refer to <https://unlicense.org>\n","dependencies":{"hastscript":"^7.0.2","unist-util-map":"^3.1.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.19","devDependencies":{"unified":"^10.1.0","typescript":"^4.4.4","@types/unist":"^2.0.6","mdast-util-directive":"^2.1.1","mdast-util-from-markdown":"^1.0.4"},"_npmOperationalInternal":{"tmp":"tmp/remark-directive-rehype_0.4.2_1664428768074_0.9272149919254642","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"remark-directive-rehype","version":"1.0.0","description":"Remark plugin to enable Markdown directives to be parsed as HTML.","keywords":["remark","plugin","remark-plugin","directive","remark-directive","rehype","unified","mdast","hast","markdown"],"license":"Unlicense","homepage":"https://github.com/IGassmann/remark-directive-rehype#readme","repository":{"type":"git","url":"git+https://github.com/IGassmann/remark-directive-rehype.git"},"bugs":{"url":"https://github.com/IGassmann/remark-directive-rehype/issues"},"author":{"name":"Igor Gassmann","email":"igor@igassmann.me","url":"https://igassmann.me"},"type":"module","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"dependencies":{"hastscript":"^9.0.1","unist-util-map":"^4.0.0"},"devDependencies":{"@types/unist":"^3.0.3","mdast-util-directive":"^3.1.0","mdast-util-from-markdown":"^2.0.2","typescript":"^5.9.3","unified":"^11.0.5"},"engines":{"node":">=20.0.0"},"scripts":{"build":"tsc"},"_id":"remark-directive-rehype@1.0.0","_integrity":"sha512-10XpgKG/v5pqSpp/lLXEqqJ+EeHY1mhmcgSgno1Zw+PygBvkMguY9X39dj5sMkaMt0GbUmlhWidbBqLzFLZmXg==","_resolved":"/private/var/folders/zb/kk7m13y564vc8qs5cvhbzfsr0000gn/T/366e4401976d5b75a044705bbeb7855c/remark-directive-rehype-1.0.0.tgz","_from":"file:remark-directive-rehype-1.0.0.tgz","_nodeVersion":"24.11.0","_npmVersion":"11.6.1","dist":{"integrity":"sha512-10XpgKG/v5pqSpp/lLXEqqJ+EeHY1mhmcgSgno1Zw+PygBvkMguY9X39dj5sMkaMt0GbUmlhWidbBqLzFLZmXg==","shasum":"9a3161d566d2b8931ecdda39ad1fd386f52d7f27","tarball":"https://registry.npmjs.org/remark-directive-rehype/-/remark-directive-rehype-1.0.0.tgz","fileCount":6,"unpackedSize":9299,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDH9FF0Z8MHPBHfgNi94hy0ML52/Ck/qFYPQ3dFdmzGOwIgfjPpTGT8ug09/DkoocrYfzyya7zoWyIDbFOk2ahiER4="}]},"_npmUser":{"name":"igassmann","email":"igor@igassmann.me"},"directories":{},"maintainers":[{"name":"igassmann","email":"igor@igassmann.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/remark-directive-rehype_1.0.0_1770640577171_0.9635768622838838"},"_hasShrinkwrap":false}},"time":{"created":"2021-11-12T12:32:48.254Z","modified":"2026-02-09T12:36:17.440Z","0.1.0":"2021-11-12T12:32:48.394Z","0.1.1":"2021-11-12T12:37:33.154Z","0.2.0":"2021-11-12T13:51:09.529Z","0.3.0":"2021-11-15T10:24:32.944Z","0.4.0":"2021-11-15T16:37:36.581Z","0.4.1":"2022-09-26T19:16:42.029Z","0.4.2":"2022-09-29T05:19:28.269Z","1.0.0":"2026-02-09T12:36:17.318Z"},"bugs":{"url":"https://github.com/IGassmann/remark-directive-rehype/issues"},"author":{"name":"Igor Gassmann","email":"igor@igassmann.me","url":"https://igassmann.me"},"license":"Unlicense","homepage":"https://github.com/IGassmann/remark-directive-rehype#readme","keywords":["remark","plugin","remark-plugin","directive","remark-directive","rehype","unified","mdast","hast","markdown"],"repository":{"type":"git","url":"git+https://github.com/IGassmann/remark-directive-rehype.git"},"description":"Remark plugin to enable Markdown directives to be parsed as HTML.","maintainers":[{"name":"igassmann","email":"igor@igassmann.me"}],"readme":"# remark-directive-rehype\n\n**[remark][]** plugin to integrate [remark-directive][] with [remark-rehype][].\n\n## What is this?\n\nThis package is a [unified][] ([remark][]) plugin to enable Markdown directives to be parsed as HTML\nwhen using [remark-rehype][]. Markdown directives are first parsed with [remark-directive][]\nwhich needs to be used before this plugin.\n\n**unified** is a project that transforms content with abstract syntax trees\n(ASTs).\n**remark** adds support for markdown to unified.\n**rehype** adds support for HTML to unified.\n**mdast** is the markdown AST that remark uses.\n**hast** is the HTML AST that rehype uses.\nThis is a remark plugin that transforms mdast.\n\n## When should I use this?\n\nThis project is useful when you want directives parsed by [remark-directive][] to be later parsed as\nHTML ([hast][] nodes) when using [remark-rehype][]. This is specifically useful when one wants to\nconvert Markdown directives into HTML tags that can be outputted as components with\n[react-markdown][].\n\n## Installation\n\nThis package is [ESM only](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).\nIn Node.js (version 20+), install with [npm][]:\n\n```sh\nnpm install remark-directive-rehype\n```\n\n## Usage\n\nSay we have the following file, `example.md`:\n\n```markdown\n:::documentation-page{title=\"Welcome\"}\n\nPlease install :inline-code[unified]!\n\n::copyright-notice{year=\"2020\"}\n\n:::\n```\n\nAnd our module `example.js` looks as follows:\n\n```js\nimport {read} from 'to-vfile'\nimport {unified} from 'unified'\nimport remarkParse from 'remark-parse'\nimport remarkDirective from 'remark-directive'\nimport remarkDirectiveRehype from 'remark-directive-rehype'\nimport remarkRehype from 'remark-rehype'\nimport rehypeStringify from 'rehype-stringify'\n\nconst file = await unified()\n  .use(remarkParse)\n  .use(remarkDirective)\n  .use(remarkDirectiveRehype)\n  .use(remarkRehype)\n  .use(rehypeStringify)\n  .process(await read('example.md'))\n\nconsole.log(String(file))\n```\n\nNow running `node example` yields:\n\n```html\n<documentation-page title=\"Welcome\">\n  <p>Please install <inline-code>unified</inline-code>!</p>\n  <copyright-notice year=\"2020\"></copyright-notice>\n</documentation-page>\n```\n\n## Examples\n\n### Example: `react-markdown`\n\nYou can use it with [react-markdown][] to render custom React components for each defined directive.\n\n```js\nimport { createRoot } from 'react-dom/client'\nimport Markdown from 'react-markdown'\nimport remarkDirective from 'remark-directive'\nimport remarkDirectiveRehype from 'remark-directive-rehype'\n\nconst markdown = `\n# Cat videos\n\n::youtube-video[Video of a cat in a box]{#01ab2cd3efg}\n`\n\nconst YouTubeVideo = ({id, children}) => (\n  <iframe\n    src={'https://www.youtube.com/embed/' + id}\n    width=\"200\"\n    height=\"200\"\n  >\n    {children}\n  </iframe>\n)\n\ncreateRoot(document.getElementById('root')).render(\n  <Markdown\n    remarkPlugins={[remarkDirective, remarkDirectiveRehype]}\n    components={{\n      'youtube-video': YouTubeVideo\n    }}\n  >\n    {markdown}\n  </Markdown>\n)\n```\n\nYields:\n\n```html\n<h1>Cat videos</h1>\n<iframe src=\"https://www.youtube.com/embed/01ab2cd3efg\" width=\"200\" height=\"200\">Video of a cat in a box</iframe>\n```\n\n### Example: `rehype-components`\n\nYou can use in conjunction with [rehype-components][] to render components made with [hastscript][].\n\n```js\n// …\n\nconst file = await unified()\n  .use(remarkParse)\n  .use(remarkDirective)\n  .use(remarkDirectiveRehype)\n  .use(remarkRehype)\n  .use(rehypeComponents, {\n    components: {\n      'documentation-page': DocumentationPage,\n      'inline-code': InfoBox,\n      'copyright-notice': CopyrightNotice,\n    },\n  })\n  .use(rehypeStringify)\n  .process(await read('example.md'))\n\nconsole.log(String(file))\n```\n\nSee [rehype-components][] for more information on how to implement the components.\n\n\n<!-- Definitions -->\n\n[remark]: https://github.com/remarkjs/remark\n\n[remark-directive]: https://github.com/remarkjs/remark-directive\n\n[remark-rehype]: https://github.com/remarkjs/remark-rehype\n\n[unified]: https://github.com/unifiedjs/unified\n\n[hast]: https://github.com/syntax-tree/hast\n\n[npm]: https://docs.npmjs.com/cli/install\n\n[react-markdown]: https://github.com/remarkjs/react-markdown\n\n[rehype-components]: https://github.com/marekweb/rehype-components\n\n[hastscript]: https://github.com/syntax-tree/hastscript\n","readmeFilename":"README.md"}