{"_id":"remark-rehype","_rev":"3912696","name":"remark-rehype","description":"remark plugin that turns markdown into HTML to support rehype","dist-tags":{"latest":"11.1.2"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"time":{"modified":"2025-09-01T01:15:42.000Z","created":"2016-06-19T15:37:31.833Z","11.1.2":"2025-04-02T13:46:59.156Z","11.1.1":"2024-09-19T13:02:23.672Z","11.1.0":"2024-01-11T09:54:30.889Z","11.0.0":"2023-09-19T16:43:37.213Z","10.1.0":"2021-12-03T10:50:37.906Z","10.0.1":"2021-11-05T14:11:32.935Z","10.0.0":"2021-10-03T15:32:21.637Z","9.1.0":"2021-09-23T14:15:28.139Z","9.0.0":"2021-08-06T12:18:06.610Z","8.1.0":"2021-04-13T07:18:22.423Z","8.0.0":"2020-10-03T10:49:24.087Z","7.0.0":"2020-05-19T13:15:02.840Z","6.0.0":"2020-03-23T15:31:56.143Z","5.0.0":"2019-07-19T13:48:59.947Z","4.0.1":"2019-06-17T06:44:12.483Z","4.0.0":"2018-11-22T12:49:04.738Z","3.0.2":"2018-11-20T20:15:57.796Z","3.0.1":"2018-08-11T00:15:51.943Z","3.0.0":"2017-12-04T20:28:30.076Z","2.0.1":"2017-06-17T11:24:28.213Z","2.0.0":"2017-02-23T21:36:22.545Z","1.3.0":"2016-12-18T12:03:58.310Z","1.2.0":"2016-11-26T10:41:26.242Z","1.1.0":"2016-10-10T14:54:30.438Z","1.0.1":"2016-08-28T09:33:38.849Z","1.0.0":"2016-06-19T15:37:31.833Z"},"users":{"danielbayley":true,"seangenabe":true},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-rehype.git"},"versions":{"11.1.2":{"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"bugs":{"url":"https://github.com/remarkjs/remark-rehype/issues"},"contributors":[{"name":"John Otander","email":"johnotander@gmail.com","url":"https://johno.com"},{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{"@types/hast":"^3.0.0","@types/mdast":"^4.0.0","mdast-util-to-hast":"^13.0.0","unified":"^11.0.0","vfile":"^6.0.0"},"description":"remark plugin that turns markdown into HTML to support rehype","devDependencies":{"@types/node":"^22.0.0","c8":"^10.0.0","prettier":"^3.0.0","rehype-slug":"^6.0.0","rehype-stringify":"^10.0.0","remark-cli":"^12.0.0","remark-parse":"^11.0.0","remark-preset-wooorm":"^11.0.0","remark-stringify":"^11.0.0","type-coverage":"^2.0.0","typescript":"^5.0.0","xo":"^0.60.0"},"exports":"./index.js","funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"keywords":["hast","html","markdown","mdast","plugin","rehype-plugin","rehype","remark-plugin","remark","unified"],"license":"MIT","name":"remark-rehype","prettier":{"bracketSpacing":false,"singleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","useTabs":false},"remarkConfig":{"plugins":["remark-preset-wooorm"]},"repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-rehype.git"},"scripts":{"build":"tsc --build --clean && tsc --build && type-coverage","format":"remark --frail --output --quiet -- . && prettier --log-level warn --write -- . && xo --fix","test-api":"node --conditions development test.js","test-coverage":"c8 --100 --reporter lcov -- npm run test-api","test":"npm run build && npm run format && npm run test-coverage"},"sideEffects":false,"typeCoverage":{"atLeast":100,"strict":true},"type":"module","version":"11.1.2","xo":{"prettier":true},"_id":"remark-rehype@11.1.2","gitHead":"b5a2e5bb0f14607b6fc79ccbfdf0d518a4f304de","types":"./index.d.ts","homepage":"https://github.com/remarkjs/remark-rehype#readme","_nodeVersion":"23.9.0","_npmVersion":"11.2.0","dist":{"shasum":"2addaadda80ca9bd9aa0da763e74d16327683b37","size":11729,"noattachment":false,"key":"/remark-rehype/-/remark-rehype-11.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-rehype/download/remark-rehype-11.1.2.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/remark-rehype_11.1.2_1743601618955_0.2038378077385623"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-04-02T13:46:59.156Z","publish_time":1743601619156,"_source_registry_name":"default","_cnpm_publish_time":1743601619156},"11.1.1":{"name":"remark-rehype","version":"11.1.1","description":"remark plugin that turns markdown into HTML to support rehype","license":"MIT","keywords":["hast","html","markdown","mdast","plugin","rehype","rehype-plugin","remark","remark-plugin","unified"],"repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-rehype.git"},"bugs":{"url":"https://github.com/remarkjs/remark-rehype/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"John Otander","email":"johnotander@gmail.com","url":"https://johno.com"}],"sideEffects":false,"type":"module","exports":"./index.js","dependencies":{"@types/hast":"^3.0.0","@types/mdast":"^4.0.0","mdast-util-to-hast":"^13.0.0","unified":"^11.0.0","vfile":"^6.0.0"},"devDependencies":{"@types/node":"^22.0.0","c8":"^10.0.0","prettier":"^3.0.0","rehype-slug":"^6.0.0","rehype-stringify":"^10.0.0","remark-cli":"^12.0.0","remark-parse":"^11.0.0","remark-preset-wooorm":"^10.0.0","remark-stringify":"^11.0.0","type-coverage":"^2.0.0","typescript":"^5.0.0","xo":"^0.59.0"},"scripts":{"build":"tsc --build --clean && tsc --build && type-coverage","format":"remark . --frail --output --quiet && prettier . --log-level warn --write && xo --fix","prepack":"npm run build && npm run format","test":"npm run build && npm run format && npm run test-coverage","test-api":"node --conditions development test.js","test-coverage":"c8 --100 --reporter lcov npm run test-api"},"prettier":{"bracketSpacing":false,"singleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","useTabs":false},"remarkConfig":{"plugins":["remark-preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"ignoreCatch":true,"strict":true},"xo":{"prettier":true},"_id":"remark-rehype@11.1.1","gitHead":"bd04daca26644c0df92441f4fb3a81321c79c30d","types":"./index.d.ts","homepage":"https://github.com/remarkjs/remark-rehype#readme","_nodeVersion":"22.7.0","_npmVersion":"10.8.3","dist":{"shasum":"f864dd2947889a11997c0a2667cd6b38f685bca7","size":11657,"noattachment":false,"key":"/remark-rehype/-/remark-rehype-11.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-rehype/download/remark-rehype-11.1.1.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-rehype_11.1.1_1726750943464_0.8701930715154182"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-09-19T13:02:23.672Z","publish_time":1726750943672,"_source_registry_name":"default","_cnpm_publish_time":1726750943672},"11.1.0":{"name":"remark-rehype","version":"11.1.0","description":"remark plugin that turns markdown into HTML to support rehype","license":"MIT","keywords":["hast","html","markdown","mdast","plugin","rehype","rehype-plugin","remark","remark-plugin","unified"],"repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-rehype.git"},"bugs":{"url":"https://github.com/remarkjs/remark-rehype/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"John Otander","email":"johnotander@gmail.com","url":"https://johno.com"}],"sideEffects":false,"type":"module","exports":"./index.js","dependencies":{"@types/hast":"^3.0.0","@types/mdast":"^4.0.0","mdast-util-to-hast":"^13.0.0","unified":"^11.0.0","vfile":"^6.0.0"},"devDependencies":{"@types/node":"^20.0.0","c8":"^9.0.0","prettier":"^3.0.0","rehype-stringify":"^10.0.0","remark-cli":"^11.0.0","remark-parse":"^11.0.0","remark-preset-wooorm":"^9.0.0","remark-stringify":"^11.0.0","type-coverage":"^2.0.0","typescript":"^5.0.0","xo":"^0.56.0"},"scripts":{"build":"tsc --build --clean && tsc --build && type-coverage","format":"remark . --frail --output --quiet && prettier . --log-level warn --write && xo --fix","prepack":"npm run build && npm run format","test":"npm run build && npm run format && npm run test-coverage","test-api":"node --conditions development test.js","test-coverage":"c8 --100 --reporter lcov npm run test-api"},"prettier":{"bracketSpacing":false,"singleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","useTabs":false},"remarkConfig":{"plugins":["remark-preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"ignoreCatch":true,"strict":true},"xo":{"prettier":true},"_id":"remark-rehype@11.1.0","gitHead":"6407b61e4738ca525e883b85b868e5d5a240c0c5","types":"./index.d.ts","homepage":"https://github.com/remarkjs/remark-rehype#readme","_nodeVersion":"21.2.0","_npmVersion":"10.2.3","dist":{"shasum":"d5f264f42bcbd4d300f030975609d01a1697ccdc","size":11268,"noattachment":false,"key":"/remark-rehype/-/remark-rehype-11.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-rehype/download/remark-rehype-11.1.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-rehype_11.1.0_1704966870673_0.8528166906677828"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-01-11T09:54:30.889Z","publish_time":1704966870889,"_source_registry_name":"default","_cnpm_publish_time":1704966870889},"11.0.0":{"name":"remark-rehype","version":"11.0.0","description":"remark plugin that turns markdown into HTML to support rehype","license":"MIT","keywords":["hast","html","markdown","mdast","plugin","rehype","rehype-plugin","remark","remark-plugin","unified"],"repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-rehype.git"},"bugs":{"url":"https://github.com/remarkjs/remark-rehype/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"John Otander","email":"johnotander@gmail.com","url":"https://johno.com"}],"sideEffects":false,"type":"module","exports":"./index.js","dependencies":{"@types/hast":"^3.0.0","@types/mdast":"^4.0.0","mdast-util-to-hast":"^13.0.0","unified":"^11.0.0","vfile":"^6.0.0"},"devDependencies":{"@types/node":"^20.0.0","c8":"^8.0.0","prettier":"^3.0.0","rehype-stringify":"^10.0.0","remark-cli":"^11.0.0","remark-parse":"^11.0.0","remark-preset-wooorm":"^9.0.0","remark-stringify":"^11.0.0","type-coverage":"^2.0.0","typescript":"^5.0.0","xo":"^0.56.0"},"scripts":{"build":"tsc --build --clean && tsc --build && type-coverage","format":"remark . --frail --output --quiet && prettier . --log-level warn --write && xo --fix","prepack":"npm run build && npm run format","test":"npm run build && npm run format && npm run test-coverage","test-api":"node --conditions development test.js","test-coverage":"c8 --100 --reporter lcov npm run test-api"},"prettier":{"bracketSpacing":false,"singleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","useTabs":false},"remarkConfig":{"plugins":["remark-preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"ignoreCatch":true,"strict":true},"xo":{"prettier":true},"_id":"remark-rehype@11.0.0","gitHead":"b4799b580f80a3dc6edee2c9d6c6144c05ff0685","types":"./index.d.ts","homepage":"https://github.com/remarkjs/remark-rehype#readme","_nodeVersion":"20.5.1","_npmVersion":"9.8.0","dist":{"shasum":"7f21c08738bde024be5f16e4a8b13e5d7a04cf6b","size":11174,"noattachment":false,"key":"/remark-rehype/-/remark-rehype-11.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-rehype/download/remark-rehype-11.0.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-rehype_11.0.0_1695141817021_0.11214618682533684"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-19T16:43:37.213Z","publish_time":1695141817213,"_source_registry_name":"default","_cnpm_publish_time":1695141817213},"10.1.0":{"name":"remark-rehype","version":"10.1.0","description":"remark plugin that turns markdown into HTML to support rehype","license":"MIT","keywords":["unified","remark","rehype","remark-plugin","rehype-plugin","plugin","html","hast","mdast","markdown"],"repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-rehype.git"},"bugs":{"url":"https://github.com/remarkjs/remark-rehype/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"John Otander","email":"johnotander@gmail.com","url":"https://johno.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"@types/hast":"^2.0.0","@types/mdast":"^3.0.0","mdast-util-to-hast":"^12.1.0","unified":"^10.0.0"},"devDependencies":{"@types/tape":"^4.0.0","c8":"^7.0.0","prettier":"^2.0.0","rehype-stringify":"^9.0.0","remark-cli":"^10.0.0","remark-parse":"^10.0.0","remark-preset-wooorm":"^9.0.0","remark-stringify":"^10.0.0","rimraf":"^3.0.0","tape":"^5.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","xo":"^0.47.0"},"scripts":{"build":"rimraf \"lib/**/*.d.ts\" \"*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node --conditions development test.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov npm run test-api","test-types":"dtslint types","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true,"#":"needed `any`s","ignoreFiles":["lib/index.d.ts","lib/index.js","index.d.ts"]},"gitHead":"3a9bd089953dc12b82b8403d2bc731ea957c5895","homepage":"https://github.com/remarkjs/remark-rehype#readme","_id":"remark-rehype@10.1.0","_nodeVersion":"17.0.1","_npmVersion":"8.1.0","dist":{"shasum":"32dc99d2034c27ecaf2e0150d22a6dcccd9a6279","size":8720,"noattachment":false,"key":"/remark-rehype/-/remark-rehype-10.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-rehype/download/remark-rehype-10.1.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-rehype_10.1.0_1638528637771_0.836376035109806"},"_hasShrinkwrap":false,"publish_time":1638528637906,"_cnpm_publish_time":1638528637906},"10.0.1":{"name":"remark-rehype","version":"10.0.1","description":"remark plugin that turns markdown into HTML to support rehype","license":"MIT","keywords":["unified","remark","rehype","remark-plugin","rehype-plugin","plugin","html","hast","mdast","markdown"],"repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-rehype.git"},"bugs":{"url":"https://github.com/remarkjs/remark-rehype/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"John Otander","email":"johnotander@gmail.com","url":"https://johno.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"@types/hast":"^2.0.0","@types/mdast":"^3.0.0","mdast-util-to-hast":"^12.0.0","unified":"^10.0.0"},"devDependencies":{"@types/tape":"^4.0.0","c8":"^7.0.0","prettier":"^2.0.0","rehype-stringify":"^9.0.0","remark-cli":"^10.0.0","remark-parse":"^10.0.0","remark-preset-wooorm":"^9.0.0","remark-stringify":"^10.0.0","rimraf":"^3.0.0","tape":"^5.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","xo":"^0.46.0"},"scripts":{"build":"rimraf \"lib/**/*.d.ts\" \"*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node --conditions development test.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov npm run test-api","test-types":"dtslint types","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true,"#":"needed `any`s","ignoreFiles":["lib/index.d.ts","lib/index.js","index.d.ts"]},"gitHead":"e071630d482b082d88e3bbe28a8cf9af4042e656","homepage":"https://github.com/remarkjs/remark-rehype#readme","_id":"remark-rehype@10.0.1","_nodeVersion":"17.0.1","_npmVersion":"8.1.0","dist":{"shasum":"f52079aeecb3f209d682b331c052457106e3015e","size":8584,"noattachment":false,"key":"/remark-rehype/-/remark-rehype-10.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-rehype/download/remark-rehype-10.0.1.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-rehype_10.0.1_1636121492771_0.48642972927236805"},"_hasShrinkwrap":false,"publish_time":1636121492935,"_cnpm_publish_time":1636121492935},"10.0.0":{"name":"remark-rehype","version":"10.0.0","description":"remark plugin to transform to rehype","license":"MIT","keywords":["unified","remark","rehype","remark-plugin","rehype-plugin","plugin","html","hast","mdast","markdown"],"repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-rehype.git"},"bugs":{"url":"https://github.com/remarkjs/remark-rehype/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"John Otander","email":"johnotander@gmail.com","url":"https://johno.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"@types/hast":"^2.0.0","@types/mdast":"^3.0.0","mdast-util-to-hast":"^12.0.0","unified":"^10.0.0"},"devDependencies":{"@types/tape":"^4.0.0","c8":"^7.0.0","prettier":"^2.0.0","rehype-stringify":"^9.0.0","remark-cli":"^10.0.0","remark-parse":"^10.0.0","remark-preset-wooorm":"^9.0.0","remark-stringify":"^10.0.0","rimraf":"^3.0.0","tape":"^5.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","xo":"^0.45.0"},"scripts":{"build":"rimraf \"*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node --conditions development test.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov npm run test-api","test-types":"dtslint types","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true,"#":"needed `any`s","ignoreFiles":["index.d.ts","index.js"]},"gitHead":"425da299acc2b860fc310575ace977d945f853b2","homepage":"https://github.com/remarkjs/remark-rehype#readme","_id":"remark-rehype@10.0.0","_nodeVersion":"16.9.0","_npmVersion":"7.23.0","dist":{"shasum":"e45f07701b766a4e958fb7a843e19836082c4290","size":4578,"noattachment":false,"key":"/remark-rehype/-/remark-rehype-10.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-rehype/download/remark-rehype-10.0.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-rehype_10.0.0_1633275141471_0.22970986113416503"},"_hasShrinkwrap":false,"publish_time":1633275141637,"_cnpm_publish_time":1633275141637},"9.1.0":{"name":"remark-rehype","version":"9.1.0","description":"remark plugin to transform to rehype","license":"MIT","keywords":["unified","remark","rehype","remark-plugin","rehype-plugin","plugin","html","hast","mdast","markdown"],"repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-rehype.git"},"bugs":{"url":"https://github.com/remarkjs/remark-rehype/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"John Otander","email":"johnotander@gmail.com","url":"https://johno.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"@types/hast":"^2.0.0","@types/mdast":"^3.0.0","mdast-util-to-hast":"^11.0.0","unified":"^10.0.0"},"devDependencies":{"@types/tape":"^4.0.0","c8":"^7.0.0","prettier":"^2.0.0","rehype-stringify":"^9.0.0","remark-cli":"^10.0.0","remark-parse":"^10.0.0","remark-preset-wooorm":"^9.0.0","remark-stringify":"^10.0.0","rimraf":"^3.0.0","tape":"^5.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","xo":"^0.44.0"},"scripts":{"build":"rimraf \"*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node --conditions development test.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov npm run test-api","test-types":"dtslint types","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true,"#":"needed `any`s","ignoreFiles":["index.d.ts","index.js"]},"gitHead":"4f71c4af313c708210a9bea492e496dd86cf9cbd","homepage":"https://github.com/remarkjs/remark-rehype#readme","_id":"remark-rehype@9.1.0","_nodeVersion":"16.9.0","_npmVersion":"7.23.0","dist":{"shasum":"e4b5b6e19c125b3780343eb66c3e9b99b0f06a81","size":4556,"noattachment":false,"key":"/remark-rehype/-/remark-rehype-9.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-rehype/download/remark-rehype-9.1.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-rehype_9.1.0_1632406527974_0.5552570129855063"},"_hasShrinkwrap":false,"publish_time":1632406528139,"_cnpm_publish_time":1632406528139},"9.0.0":{"name":"remark-rehype","version":"9.0.0","description":"remark plugin to transform to rehype","license":"MIT","keywords":["unified","remark","rehype","remark-plugin","rehype-plugin","plugin","html","hast","mdast","markdown"],"repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-rehype.git"},"bugs":{"url":"https://github.com/remarkjs/remark-rehype/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"John Otander","email":"johnotander@gmail.com","url":"https://johno.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"@types/hast":"^2.0.0","@types/mdast":"^3.0.0","mdast-util-to-hast":"^11.0.0","unified":"^10.0.0"},"devDependencies":{"@types/tape":"^4.0.0","c8":"^7.0.0","prettier":"^2.0.0","rehype-stringify":"^9.0.0","remark-cli":"^10.0.0","remark-parse":"^10.0.0","remark-preset-wooorm":"^8.0.0","remark-stringify":"^10.0.0","rimraf":"^3.0.0","tape":"^5.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","xo":"^0.43.0"},"scripts":{"build":"rimraf \"*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node --conditions development test.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov npm run test-api","test-types":"dtslint types","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true,"#":"needed `any`s","ignoreFiles":["index.d.ts","index.js"]},"gitHead":"c63a54bca18ebd26df74796ccf4e9ef3d59a0bec","homepage":"https://github.com/remarkjs/remark-rehype#readme","_id":"remark-rehype@9.0.0","_nodeVersion":"16.6.1","_npmVersion":"7.20.3","dist":{"shasum":"83532a48e048373411ca50c53d84fb1a35bc7bfe","size":4512,"noattachment":false,"key":"/remark-rehype/-/remark-rehype-9.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-rehype/download/remark-rehype-9.0.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-rehype_9.0.0_1628252286463_0.5113686033751395"},"_hasShrinkwrap":false,"publish_time":1628252286610,"_cnpm_publish_time":1628252286610},"8.1.0":{"name":"remark-rehype","version":"8.1.0","description":"remark plugin to transform to rehype","license":"MIT","keywords":["unified","remark","rehype","remark-plugin","rehype-plugin","plugin","html","hast","mdast","markdown"],"repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-rehype.git"},"bugs":{"url":"https://github.com/remarkjs/remark-rehype/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"John Otander","email":"johnotander@gmail.com","url":"https://johno.com"}],"types":"types/index.d.ts","dependencies":{"mdast-util-to-hast":"^10.2.0"},"devDependencies":{"browserify":"^17.0.0","dtslint":"^4.0.0","nyc":"^15.0.0","prettier":"^2.0.0","rehype-stringify":"^8.0.0","remark-cli":"^9.0.0","remark-parse":"^9.0.0","remark-preset-wooorm":"^8.0.0","remark-stringify":"^9.0.0","tape":"^5.0.0","tinyify":"^3.0.0","unified":"^9.0.0","xo":"^0.38.0"},"scripts":{"format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","build-bundle":"browserify . -s remarkRehype > remark-rehype.js","build-mangle":"browserify . -s remarkRehype -p tinyify > remark-rehype.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test-types":"dtslint types","test":"npm run format && npm run build && npm run test-coverage && npm run test-types"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"ignores":["remark-rehype.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"2b460d889893bf96324fa0ffa72b772b1e25c1b2","homepage":"https://github.com/remarkjs/remark-rehype#readme","_id":"remark-rehype@8.1.0","_nodeVersion":"15.11.0","_npmVersion":"7.6.2","dist":{"shasum":"610509a043484c1e697437fa5eb3fd992617c945","size":4073,"noattachment":false,"key":"/remark-rehype/-/remark-rehype-8.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-rehype/download/remark-rehype-8.1.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-rehype_8.1.0_1618298302123_0.7270108472917292"},"_hasShrinkwrap":false,"publish_time":1618298302423,"_cnpm_publish_time":1618298302423},"8.0.0":{"name":"remark-rehype","version":"8.0.0","description":"remark plugin to transform to rehype","license":"MIT","keywords":["unified","remark","rehype","remark-plugin","rehype-plugin","plugin","html","hast","mdast","markdown"],"repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-rehype.git"},"bugs":{"url":"https://github.com/remarkjs/remark-rehype/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"John Otander","email":"johnotander@gmail.com","url":"https://johno.com"}],"types":"types/index.d.ts","dependencies":{"mdast-util-to-hast":"^10.0.0"},"devDependencies":{"browserify":"^16.0.0","dtslint":"^4.0.0","nyc":"^15.0.0","prettier":"^2.0.0","rehype-stringify":"^8.0.0","remark-cli":"^8.0.0","remark-parse":"^8.0.0","remark-preset-wooorm":"^7.0.0","remark-stringify":"^8.0.0","tape":"^5.0.0","tinyify":"^3.0.0","unified":"^9.0.0","xo":"^0.33.0"},"scripts":{"format":"remark . -qfo && prettier . --write && xo --fix","build-bundle":"browserify . -s remarkRehype > remark-rehype.js","build-mangle":"browserify . -s remarkRehype -p tinyify > remark-rehype.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test-types":"dtslint types","test":"npm run format && npm run build && npm run test-coverage && npm run test-types"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"ignores":["remark-rehype.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"42fcaba562c62cb57c5cd3dd3f677b67ae0af75b","homepage":"https://github.com/remarkjs/remark-rehype#readme","_id":"remark-rehype@8.0.0","_nodeVersion":"14.8.0","_npmVersion":"6.14.8","dist":{"shasum":"5a8afc8262a59d205fba21dafb27a673fb3b92fa","size":4071,"noattachment":false,"key":"/remark-rehype/-/remark-rehype-8.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-rehype/download/remark-rehype-8.0.0.tgz"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-rehype_8.0.0_1601722163981_0.11646817518134145"},"_hasShrinkwrap":false,"publish_time":1601722164087,"_cnpm_publish_time":1601722164087},"7.0.0":{"name":"remark-rehype","version":"7.0.0","description":"remark plugin to transform to rehype","license":"MIT","keywords":["unified","remark","rehype","remark-plugin","rehype-plugin","plugin","html","hast","mdast","markdown"],"repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-rehype.git"},"bugs":{"url":"https://github.com/remarkjs/remark-rehype/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"John Otander","email":"johnotander@gmail.com","url":"https://johno.com"}],"types":"types/index.d.ts","dependencies":{"mdast-util-to-hast":"^9.1.0"},"devDependencies":{"browserify":"^16.0.0","dtslint":"^3.0.0","nyc":"^15.0.0","prettier":"^2.0.0","rehype-stringify":"^7.0.0","remark-cli":"^8.0.0","remark-parse":"^8.0.0","remark-preset-wooorm":"^7.0.0","remark-stringify":"^8.0.0","tape":"^5.0.0","tinyify":"^2.0.0","unified":"^9.0.0","xo":"^0.30.0"},"scripts":{"format":"remark . -qfo && prettier --write . && xo --fix","build-bundle":"browserify . -s remarkRehype > remark-rehype.js","build-mangle":"browserify . -s remarkRehype -p tinyify > remark-rehype.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test-types":"dtslint types","test":"npm run format && npm run build && npm run test-coverage && npm run test-types"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"ignores":["remark-rehype.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"1e35c0de67e3a3c41e9db8f8fef9ab9dc4d55164","homepage":"https://github.com/remarkjs/remark-rehype#readme","_id":"remark-rehype@7.0.0","_nodeVersion":"14.0.0","_npmVersion":"6.14.5","dist":{"shasum":"8e106e49806c69b2e9523b76d24965119e2da67b","size":4001,"noattachment":false,"key":"/remark-rehype/-/remark-rehype-7.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-rehype/download/remark-rehype-7.0.0.tgz"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-rehype_7.0.0_1589894102717_0.08285564369541643"},"_hasShrinkwrap":false,"publish_time":1589894102840,"_cnpm_publish_time":1589894102840},"6.0.0":{"name":"remark-rehype","version":"6.0.0","description":"remark plugin to transform to rehype","license":"MIT","keywords":["unified","remark","rehype","remark-plugin","rehype-plugin","plugin","html","hast","mdast","markdown"],"repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-rehype.git"},"bugs":{"url":"https://github.com/remarkjs/remark-rehype/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"John Otander","email":"johnotander@gmail.com","url":"https://johno.com"}],"dependencies":{"mdast-util-to-hast":"^8.0.0"},"devDependencies":{"browserify":"^16.0.0","nyc":"^15.0.0","prettier":"^2.0.0","rehype-stringify":"^6.0.0","remark-cli":"^7.0.0","remark-parse":"^7.0.0","remark-preset-wooorm":"^6.0.0","remark-stringify":"^7.0.0","tape":"^4.0.0","tinyify":"^2.0.0","unified":"^8.0.0","xo":"^0.28.0"},"scripts":{"format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","build-bundle":"browserify . -s remarkRehype > remark-rehype.js","build-mangle":"browserify . -s remarkRehype -p tinyify > remark-rehype.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"ignores":["remark-rehype.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"b5e3ef3fb4a48b1d5c62bbc7e3531095fcad1c76","homepage":"https://github.com/remarkjs/remark-rehype#readme","_id":"remark-rehype@6.0.0","_nodeVersion":"13.10.1","_npmVersion":"6.14.3","dist":{"shasum":"dcd340ebee412709a81b15a69f4ae474a38aa72a","size":3837,"noattachment":false,"key":"/remark-rehype/-/remark-rehype-6.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-rehype/download/remark-rehype-6.0.0.tgz"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-rehype_6.0.0_1584977516009_0.8307583751613892"},"_hasShrinkwrap":false,"publish_time":1584977516143,"_cnpm_publish_time":1584977516143},"5.0.0":{"name":"remark-rehype","version":"5.0.0","description":"remark plugin to transform to rehype","license":"MIT","keywords":["unified","remark","rehype","plugin","html","hast","mdast","markdown"],"repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-rehype.git"},"bugs":{"url":"https://github.com/remarkjs/remark-rehype/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"John Otander","email":"johnotander@gmail.com","url":"https://johno.com"}],"dependencies":{"mdast-util-to-hast":"^6.0.0"},"devDependencies":{"browserify":"^16.0.0","nyc":"^14.0.0","prettier":"^1.0.0","rehype-stringify":"^6.0.0","remark-cli":"^6.0.0","remark-parse":"^6.0.0","remark-preset-wooorm":"^5.0.0","remark-stringify":"^6.0.0","tape":"^4.0.0","tinyify":"^2.0.0","unified":"^8.0.0","xo":"^0.24.0"},"scripts":{"format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","build-bundle":"browserify . -s remarkRehype > remark-rehype.js","build-mangle":"browserify . -s remarkRehype -p tinyify > remark-rehype.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"ignores":["remark-rehype.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"5fe2c5c1fc890552f3d3d920b69284ce86f82442","homepage":"https://github.com/remarkjs/remark-rehype#readme","_id":"remark-rehype@5.0.0","_nodeVersion":"12.2.0","_npmVersion":"6.10.1","dist":{"shasum":"dcf85b481bfaadf262ddde9b4ecefbb7f2673e70","size":3590,"noattachment":false,"key":"/remark-rehype/-/remark-rehype-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-rehype/download/remark-rehype-5.0.0.tgz"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-rehype_5.0.0_1563544139827_0.7772215072989987"},"_hasShrinkwrap":false,"publish_time":1563544139947,"_cnpm_publish_time":1563544139947},"4.0.1":{"name":"remark-rehype","version":"4.0.1","description":"remark plugin to transform to rehype","license":"MIT","keywords":["unified","remark","rehype","plugin","html","hast","mdast","markdown"],"repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-rehype.git"},"bugs":{"url":"https://github.com/remarkjs/remark-rehype/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"John Otander","email":"johnotander@gmail.com","url":"https://johno.com"}],"dependencies":{"mdast-util-to-hast":"^4.0.0"},"devDependencies":{"browserify":"^16.0.0","nyc":"^14.0.0","prettier":"^1.0.0","rehype-stringify":"^6.0.0","remark-cli":"^6.0.0","remark-parse":"^6.0.0","remark-preset-wooorm":"^5.0.0","remark-stringify":"^6.0.0","tape":"^4.0.0","tinyify":"^2.0.0","unified":"^7.0.0","xo":"^0.24.0"},"scripts":{"format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","build-bundle":"browserify . -s remarkRehype > remark-rehype.js","build-mangle":"browserify . -s remarkRehype -p tinyify > remark-rehype.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"ignores":["remark-rehype.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"8c193cc8157cdb65d96fec305dacb10888653695","homepage":"https://github.com/remarkjs/remark-rehype#readme","_id":"remark-rehype@4.0.1","_nodeVersion":"12.2.0","_npmVersion":"6.9.0","dist":{"shasum":"c88541ebdacea7c29dd4dc3e611c00a43e140887","size":3592,"noattachment":false,"key":"/remark-rehype/-/remark-rehype-4.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-rehype/download/remark-rehype-4.0.1.tgz"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-rehype_4.0.1_1560753852317_0.9259947893860114"},"_hasShrinkwrap":false,"publish_time":1560753852483,"_cnpm_publish_time":1560753852483},"4.0.0":{"name":"remark-rehype","version":"4.0.0","description":"rehype support for remark","license":"MIT","keywords":["remark","rehype","mdast","hast"],"repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-rehype.git"},"bugs":{"url":"https://github.com/remarkjs/remark-rehype/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{"mdast-util-to-hast":"^4.0.0"},"devDependencies":{"browserify":"^16.0.0","nyc":"^13.0.0","prettier":"^1.14.2","rehype-stringify":"^5.0.0","remark-cli":"^6.0.0","remark-parse":"^6.0.0","remark-preset-wooorm":"^4.0.0","remark-stringify":"^6.0.0","tape":"^4.0.0","tinyify":"^2.4.3","unified":"^7.0.0","xo":"^0.23.0"},"scripts":{"format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","build-bundle":"browserify . -s remarkRehype > remark-rehype.js","build-mangle":"browserify . -s remarkRehype -p tinyify > remark-rehype.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"ignores":["remark-rehype.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"07469598e3a2c794f51e0741b8213066b3c702c9","homepage":"https://github.com/remarkjs/remark-rehype#readme","_id":"remark-rehype@4.0.0","_npmVersion":"6.4.1","_nodeVersion":"11.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"b9c8ae687e311eead584742439e028497b7aebe8","size":3503,"noattachment":false,"key":"/remark-rehype/-/remark-rehype-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-rehype/download/remark-rehype-4.0.0.tgz"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-rehype_4.0.0_1542890944619_0.48677182562514454"},"_hasShrinkwrap":false,"publish_time":1542890944738,"_cnpm_publish_time":1542890944738},"3.0.2":{"name":"remark-rehype","version":"3.0.2","description":"rehype support for remark","license":"MIT","keywords":["remark","rehype","mdast","hast"],"repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-rehype.git"},"bugs":{"url":"https://github.com/remarkjs/remark-rehype/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{"mdast-util-to-hast":"^3.0.0"},"devDependencies":{"browserify":"^16.0.0","nyc":"^13.0.0","prettier":"^1.14.2","rehype-stringify":"^5.0.0","remark-cli":"^6.0.0","remark-parse":"^6.0.0","remark-preset-wooorm":"^4.0.0","remark-stringify":"^6.0.0","tape":"^4.0.0","tinyify":"^2.4.3","unified":"^7.0.0","xo":"^0.23.0"},"scripts":{"format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","build-bundle":"browserify . -s remarkRehype > remark-rehype.js","build-mangle":"browserify . -s remarkRehype -p tinyify > remark-rehype.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"ignores":["remark-rehype.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"4797fb787a609cb49e35ae753b4defd297451b5e","homepage":"https://github.com/remarkjs/remark-rehype#readme","_id":"remark-rehype@3.0.2","_npmVersion":"6.4.1","_nodeVersion":"11.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"ba03aa55d85ede210147dee0952d4d0a73feef61","size":3506,"noattachment":false,"key":"/remark-rehype/-/remark-rehype-3.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-rehype/download/remark-rehype-3.0.2.tgz"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-rehype_3.0.2_1542744957703_0.1456574070876162"},"_hasShrinkwrap":false,"publish_time":1542744957796,"_cnpm_publish_time":1542744957796},"3.0.1":{"name":"remark-rehype","version":"3.0.1","description":"rehype support for remark","license":"MIT","keywords":["remark","rehype","mdast","hast"],"repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-rehype.git"},"bugs":{"url":"https://github.com/remarkjs/remark-rehype/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"dependencies":{"mdast-util-to-hast":"^3.0.0"},"files":["index.js"],"devDependencies":{"browserify":"^16.0.0","nyc":"^12.0.0","prettier":"^1.14.2","rehype-stringify":"^4.0.0","remark-cli":"^5.0.0","remark-parse":"^5.0.0","remark-preset-wooorm":"^4.0.0","remark-stringify":"^5.0.0","tape":"^4.0.0","tinyify":"^2.4.3","unified":"^7.0.0","xo":"^0.22.0"},"scripts":{"format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","build-bundle":"browserify . -s remarkRehype > remark-rehype.js","build-mangle":"browserify . -s remarkRehype -p tinyify > remark-rehype.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"ignores":["remark-rehype.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"d8c1bd6e38df518e9f0e6bfc93b38319f15e4932","homepage":"https://github.com/remarkjs/remark-rehype#readme","_id":"remark-rehype@3.0.1","_npmVersion":"6.3.0","_nodeVersion":"10.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"7c35c08e022ca55bd33719548dd555b1a721a181","size":3358,"noattachment":false,"key":"/remark-rehype/-/remark-rehype-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-rehype/download/remark-rehype-3.0.1.tgz"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-rehype_3.0.1_1533946551864_0.01107609084131056"},"_hasShrinkwrap":false,"publish_time":1533946551943,"_cnpm_publish_time":1533946551943},"3.0.0":{"name":"remark-rehype","version":"3.0.0","description":"rehype support for remark","license":"MIT","keywords":["remark","rehype","mdast","hast"],"repository":{"type":"git","url":"git+https://github.com/wooorm/remark-rehype.git"},"bugs":{"url":"https://github.com/wooorm/remark-rehype/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"dependencies":{"mdast-util-to-hast":"^3.0.0"},"files":["index.js"],"devDependencies":{"browserify":"^14.1.0","esmangle":"^1.0.1","nyc":"^11.0.0","rehype-stringify":"^3.0.0","remark-cli":"^4.0.0","remark-parse":"^4.0.0","remark-preset-wooorm":"^3.0.0","remark-stringify":"^4.0.0","tape":"^4.0.0","unified":"^6.0.0","xo":"^0.18.0"},"scripts":{"build-md":"remark . -qfo","build-bundle":"browserify index.js --bare -s remarkRehype > remark-rehype.js","build-mangle":"esmangle remark-rehype.js > remark-rehype.min.js","build":"npm run build-md && npm run build-bundle && npm run build-mangle","lint":"xo","test-api":"node test.js","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run build && npm run lint && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"xo":{"space":true,"esnext":false,"ignores":["remark-rehype.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"5cdd30a583db7f8ebc770f50038c1301f1a040f5","homepage":"https://github.com/wooorm/remark-rehype#readme","_id":"remark-rehype@3.0.0","_npmVersion":"5.5.1","_nodeVersion":"9.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"699342e76cc1dead191cc924fdf21910b3746160","size":3107,"noattachment":false,"key":"/remark-rehype/-/remark-rehype-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-rehype/download/remark-rehype-3.0.0.tgz"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-rehype-3.0.0.tgz_1512419309130_0.4506881225388497"},"directories":{},"publish_time":1512419310076,"_hasShrinkwrap":false,"_cnpm_publish_time":1512419310076},"2.0.1":{"name":"remark-rehype","version":"2.0.1","description":"rehype support for remark","license":"MIT","keywords":["remark","rehype","mdast","hast"],"repository":{"type":"git","url":"git+https://github.com/wooorm/remark-rehype.git"},"bugs":{"url":"https://github.com/wooorm/remark-rehype/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"dependencies":{"mdast-util-to-hast":"^2.2.0"},"files":["index.js"],"devDependencies":{"browserify":"^14.1.0","esmangle":"^1.0.1","nyc":"^11.0.0","rehype-stringify":"^3.0.0","remark-cli":"^3.0.0","remark-parse":"^3.0.0","remark-preset-wooorm":"^3.0.0","remark-stringify":"^3.0.0","tape":"^4.0.0","unified":"^6.0.0","xo":"^0.18.0"},"scripts":{"build-md":"remark . -qfo","build-bundle":"browserify index.js --bare -s remarkRehype > remark-rehype.js","build-mangle":"esmangle remark-rehype.js > remark-rehype.min.js","build":"npm run build-md && npm run build-bundle && npm run build-mangle","lint":"xo","test-api":"node test.js","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run build && npm run lint && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"xo":{"space":true,"esnext":false,"ignores":["remark-rehype.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"1936650011c3d816cae0a8f30bcfd9f921b337fe","homepage":"https://github.com/wooorm/remark-rehype#readme","_id":"remark-rehype@2.0.1","_shasum":"13e989f89ee15444bd2354dffd767da922b985e3","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"13e989f89ee15444bd2354dffd767da922b985e3","size":2989,"noattachment":false,"key":"/remark-rehype/-/remark-rehype-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-rehype/download/remark-rehype-2.0.1.tgz"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-rehype-2.0.1.tgz_1497698667273_0.7875174328219146"},"directories":{},"publish_time":1497698668213,"_hasShrinkwrap":false,"_cnpm_publish_time":1497698668213},"2.0.0":{"name":"remark-rehype","version":"2.0.0","description":"rehype support for remark","license":"MIT","keywords":["remark","rehype","mdast","hast"],"repository":{"type":"git","url":"git+https://github.com/wooorm/remark-rehype.git"},"bugs":{"url":"https://github.com/wooorm/remark-rehype/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"dependencies":{"mdast-util-to-hast":"^2.2.0"},"files":["index.js"],"devDependencies":{"browserify":"^14.1.0","esmangle":"^1.0.1","nyc":"^10.0.0","rehype-stringify":"^3.0.0","remark-cli":"^3.0.0","remark-parse":"^3.0.0","remark-preset-wooorm":"^2.0.0","remark-stringify":"^3.0.0","tape":"^4.0.0","unified":"^6.0.0","xo":"^0.17.1"},"scripts":{"build-md":"remark . -qfo","build-bundle":"browserify index.js --bare -s remarkRehype > remark-rehype.js","build-mangle":"esmangle remark-rehype.js > remark-rehype.min.js","build":"npm run build-md && npm run build-bundle && npm run build-mangle","lint":"xo","test-api":"node test.js","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run build && npm run lint && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"xo":{"space":true,"ignores":["remark-rehype.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"9ac293f5e17737ebf592ba4b3d20ba154f0f6c66","homepage":"https://github.com/wooorm/remark-rehype#readme","_id":"remark-rehype@2.0.0","_shasum":"f8e02286715bbf1eeafa8c229150d7023ae3cc3c","_from":".","_npmVersion":"4.0.3","_nodeVersion":"7.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"f8e02286715bbf1eeafa8c229150d7023ae3cc3c","size":2768,"noattachment":false,"key":"/remark-rehype/-/remark-rehype-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-rehype/download/remark-rehype-2.0.0.tgz"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/remark-rehype-2.0.0.tgz_1487885780795_0.25391096039675176"},"directories":{},"publish_time":1487885782545,"_cnpm_publish_time":1487885782545,"_hasShrinkwrap":false},"1.3.0":{"name":"remark-rehype","version":"1.3.0","description":"rehype support for remark","license":"MIT","keywords":["remark","rehype","mdast","hast"],"repository":{"type":"git","url":"git+https://github.com/wooorm/remark-rehype.git"},"bugs":{"url":"https://github.com/wooorm/remark-rehype/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"dependencies":{"mdast-util-to-hast":"^2.2.0"},"files":["index.js"],"devDependencies":{"browserify":"^13.0.1","esmangle":"^1.0.1","nyc":"^10.0.0","rehype-stringify":"^2.0.0","remark-cli":"^2.0.0","remark-parse":"^2.0.0","remark-preset-wooorm":"^1.0.0","remark-stringify":"^2.0.0","tape":"^4.0.0","unified":"^5.0.0","xo":"^0.17.1"},"scripts":{"build-md":"remark . --quiet --frail","build-bundle":"browserify index.js --bare -s remarkRehype > remark-rehype.js","build-mangle":"esmangle remark-rehype.js > remark-rehype.min.js","build":"npm run build-md && npm run build-bundle && npm run build-mangle","lint":"xo","test-api":"node test.js","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run build && npm run lint && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"xo":{"space":true,"ignores":["remark-rehype.js"]},"remarkConfig":{"output":true,"presets":"wooorm"},"gitHead":"6d4ddba4534f7b7454244630f0f5fe5880e09fc0","homepage":"https://github.com/wooorm/remark-rehype#readme","_id":"remark-rehype@1.3.0","_shasum":"83fbb6a9c088098012b9a9f5c61562ef1cd21982","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"83fbb6a9c088098012b9a9f5c61562ef1cd21982","size":2769,"noattachment":false,"key":"/remark-rehype/-/remark-rehype-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-rehype/download/remark-rehype-1.3.0.tgz"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/remark-rehype-1.3.0.tgz_1482062637736_0.7623063263017684"},"directories":{},"publish_time":1482062638310,"_cnpm_publish_time":1482062638310,"_hasShrinkwrap":false},"1.2.0":{"name":"remark-rehype","version":"1.2.0","description":"rehype support for remark","license":"MIT","keywords":["remark","rehype","mdast","hast"],"repository":{"type":"git","url":"git+https://github.com/wooorm/remark-rehype.git"},"bugs":{"url":"https://github.com/wooorm/remark-rehype/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"dependencies":{"mdast-util-to-hast":"^2.1.1"},"files":["index.js"],"devDependencies":{"browserify":"^13.0.1","esmangle":"^1.0.1","nyc":"^10.0.0","rehype-stringify":"^2.0.0","remark-cli":"^2.0.0","remark-parse":"^2.0.0","remark-preset-wooorm":"^1.0.0","remark-stringify":"^2.0.0","tape":"^4.0.0","unified":"^5.0.0","xo":"^0.17.1"},"scripts":{"build-md":"remark . --quiet --frail","build-bundle":"browserify index.js --bare -s remarkRehype > remark-rehype.js","build-mangle":"esmangle remark-rehype.js > remark-rehype.min.js","build":"npm run build-md && npm run build-bundle && npm run build-mangle","lint":"xo","test-api":"node test.js","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run build && npm run lint && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"xo":{"space":true,"ignores":["remark-rehype.js"]},"remarkConfig":{"output":true,"presets":"wooorm"},"gitHead":"0ee50e1706b6a5a21ae3af31a916dc5925029d95","homepage":"https://github.com/wooorm/remark-rehype#readme","_id":"remark-rehype@1.2.0","_shasum":"47d36d9432749b06f992ccc12b9313cc48232fa5","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"47d36d9432749b06f992ccc12b9313cc48232fa5","size":2766,"noattachment":false,"key":"/remark-rehype/-/remark-rehype-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-rehype/download/remark-rehype-1.2.0.tgz"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/remark-rehype-1.2.0.tgz_1480156884413_0.5511796292848885"},"directories":{},"publish_time":1480156886242,"_cnpm_publish_time":1480156886242,"_hasShrinkwrap":false},"1.1.0":{"name":"remark-rehype","version":"1.1.0","description":"rehype support for remark","license":"MIT","keywords":["remark","rehype","mdast","hast"],"repository":{"type":"git","url":"git+https://github.com/wooorm/remark-rehype.git"},"bugs":{"url":"https://github.com/wooorm/remark-rehype/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"dependencies":{"mdast-util-to-hast":"^1.0.0"},"files":["index.js"],"devDependencies":{"browserify":"^13.0.1","esmangle":"^1.0.1","nyc":"^8.1.0","rehype-stringify":"^2.0.0","remark-cli":"^2.0.0","remark-parse":"^2.0.0","remark-preset-wooorm":"^1.0.0","remark-stringify":"^2.0.0","tape":"^4.0.0","unified":"^5.0.0","xo":"^0.16.0"},"scripts":{"build-md":"remark . --quiet --frail","build-bundle":"browserify index.js --bare -s remarkRehype > remark-rehype.js","build-mangle":"esmangle remark-rehype.js > remark-rehype.min.js","build":"npm run build-md && npm run build-bundle && npm run build-mangle","lint":"xo","test-api":"node test.js","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run build && npm run lint && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"xo":{"space":true,"ignores":["remark-rehype.js"]},"remarkConfig":{"output":true,"presets":"wooorm"},"gitHead":"6bbbcabdcd0e30058961d88938fe2fc38e631dd7","homepage":"https://github.com/wooorm/remark-rehype#readme","_id":"remark-rehype@1.1.0","_shasum":"1c81bb99f3f92c9e6214c92ac130c1433361658d","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"1c81bb99f3f92c9e6214c92ac130c1433361658d","size":2167,"noattachment":false,"key":"/remark-rehype/-/remark-rehype-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-rehype/download/remark-rehype-1.1.0.tgz"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/remark-rehype-1.1.0.tgz_1476111268664_0.33686389215290546"},"directories":{},"publish_time":1476111270438,"_cnpm_publish_time":1476111270438,"_hasShrinkwrap":false},"1.0.1":{"name":"remark-rehype","version":"1.0.1","description":"rehype support for remark","license":"MIT","keywords":["remark","rehype","mdast","hast"],"repository":{"type":"git","url":"git+https://github.com/wooorm/remark-rehype.git"},"bugs":{"url":"https://github.com/wooorm/remark-rehype/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"dependencies":{"mdast-util-to-hast":"^1.0.0"},"files":["index.js"],"devDependencies":{"browserify":"^13.0.1","esmangle":"^1.0.1","nyc":"^8.1.0","rehype-stringify":"^2.0.0","remark-cli":"^2.0.0","remark-parse":"^2.0.0","remark-preset-wooorm":"^1.0.0","remark-stringify":"^2.0.0","tape":"^4.0.0","unified":"^5.0.0","xo":"^0.16.0"},"scripts":{"build-md":"remark . --quiet --frail","build-bundle":"browserify index.js --bare -s remarkRehype > remark-rehype.js","build-mangle":"esmangle remark-rehype.js > remark-rehype.min.js","build":"npm run build-md && npm run build-bundle && npm run build-mangle","lint":"xo","test-api":"node test.js","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run build && npm run lint && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"xo":{"space":true,"ignores":["remark-rehype.js"]},"remarkConfig":{"output":true,"presets":"wooorm"},"gitHead":"72392db3ed597fcd9feea101d0cdfd095edef33c","homepage":"https://github.com/wooorm/remark-rehype#readme","_id":"remark-rehype@1.0.1","_shasum":"36ad6926c210758f30b8a6a6fd3b339bbd912000","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"36ad6926c210758f30b8a6a6fd3b339bbd912000","size":2069,"noattachment":false,"key":"/remark-rehype/-/remark-rehype-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-rehype/download/remark-rehype-1.0.1.tgz"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/remark-rehype-1.0.1.tgz_1472376817846_0.04239514726214111"},"directories":{},"publish_time":1472376818849,"_cnpm_publish_time":1472376818849,"_hasShrinkwrap":false},"1.0.0":{"name":"remark-rehype","version":"1.0.0","description":"rehype support for remark","license":"MIT","keywords":["remark","rehype","mdast","hast"],"files":["index.js"],"repository":{"type":"git","url":"git+https://github.com/wooorm/remark-rehype.git"},"bugs":{"url":"https://github.com/wooorm/remark-rehype/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"dependencies":{"mdast-util-to-hast":"^1.0.0"},"devDependencies":{"browserify":"^13.0.1","eslint":"^2.0.0","esmangle":"^1.0.1","istanbul":"^0.4.0","jscs":"^3.0.0","jscs-jsdoc":"^2.0.0","rehype-highlight":"^1.0.0","rehype-stringify":"^1.0.0","remark-cli":"^1.0.0","remark-comment-config":"^4.0.0","remark-github":"^5.0.0","remark-lint":"^4.0.0","remark-parse":"^1.0.0","remark-stringify":"^1.0.0","remark-validate-links":"^4.0.0","tape":"^4.0.0","unified":"^4.1.2","unist-util-inspect":"^4.0.0","vfile-reporter":"^1.5.0"},"scripts":{"build-md":"remark . --quiet --frail","build-bundle":"browserify index.js --bare -s remarkRehype > remark-rehype.js","build-mangle":"esmangle remark-rehype.js > remark-rehype.min.js","build":"npm run build-md && npm run build-bundle && npm run build-mangle","lint-api":"eslint .","lint-style":"jscs --reporter inline .","lint":"npm run lint-api && npm run lint-style","test-api":"node test.js","test-coverage":"istanbul cover test.js","test":"npm run build && npm run lint && npm run test-coverage"},"gitHead":"c931ac5f572eee9562d8abdf0e7460b51c0f07f5","homepage":"https://github.com/wooorm/remark-rehype#readme","_id":"remark-rehype@1.0.0","_shasum":"479c9ced0659b5f0324bb7ee851a14fd498ab57b","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"479c9ced0659b5f0324bb7ee851a14fd498ab57b","size":3105,"noattachment":false,"key":"/remark-rehype/-/remark-rehype-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-rehype/download/remark-rehype-1.0.0.tgz"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/remark-rehype-1.0.0.tgz_1466350650652_0.240302070742473"},"directories":{},"publish_time":1466350651833,"_cnpm_publish_time":1466350651833,"_hasShrinkwrap":false}},"readme":"# remark-rehype\n\n[![Build][badge-build-image]][badge-build-url]\n[![Coverage][badge-coverage-image]][badge-coverage-url]\n[![Downloads][badge-downloads-image]][badge-downloads-url]\n[![Size][badge-size-image]][badge-size-url]\n\n**[remark][github-remark]** plugin that turns markdown into HTML to support\n**[rehype][github-rehype]**.\n\n## Contents\n\n* [What is this?](#what-is-this)\n* [When should I use this?](#when-should-i-use-this)\n* [Install](#install)\n* [Use](#use)\n* [API](#api)\n  * [`defaultFootnoteBackContent(referenceIndex, rereferenceIndex)`](#defaultfootnotebackcontentreferenceindex-rereferenceindex)\n  * [`defaultFootnoteBackLabel(referenceIndex, rereferenceIndex)`](#defaultfootnotebacklabelreferenceindex-rereferenceindex)\n  * [`defaultHandlers`](#defaulthandlers)\n  * [`unified().use(remarkRehype[, destination][, options])`](#unifieduseremarkrehype-destination-options)\n  * [`Options`](#options)\n* [Examples](#examples)\n  * [Example: supporting HTML in markdown naïvely](#example-supporting-html-in-markdown-naïvely)\n  * [Example: supporting HTML in markdown properly](#example-supporting-html-in-markdown-properly)\n  * [Example: footnotes in languages other than English](#example-footnotes-in-languages-other-than-english)\n* [HTML](#html-1)\n* [CSS](#css)\n* [Syntax tree](#syntax-tree)\n* [Types](#types)\n* [Compatibility](#compatibility)\n* [Security](#security)\n* [Related](#related)\n* [Contribute](#contribute)\n* [License](#license)\n\n## What is this?\n\nThis package is a [unified][github-unified] ([remark][github-remark])\nplugin that switches from remark (the markdown ecosystem)\nto rehype (the HTML ecosystem).\nIt does this by transforming the current markdown (mdast) syntax tree into an\nHTML (hast) syntax tree.\nremark plugins deal with mdast and rehype plugins deal with hast,\nso plugins used after `remark-rehype` have to be rehype plugins.\n\nThe reason that there are different ecosystems for markdown and HTML is that\nturning markdown into HTML is,\nwhile frequently needed,\nnot the only purpose of markdown.\nChecking (linting) and formatting markdown are also common use cases for\nremark and markdown.\nThere are several aspects of markdown that do not translate 1-to-1 to HTML.\nIn some cases markdown contains more information than HTML:\nfor example,\nthere are several ways to add a link in markdown\n(as in,\nautolinks: `<https://url>`,\nresource links: `[label](url)`,\nand reference links with definitions:\n`[label][id]` and `[id]: url`).\nIn other cases HTML contains more information than markdown:\nthere are many tags,\nwhich add new meaning (semantics),\navailable in HTML that aren’t available in markdown.\nIf there was just one AST,\nit would be quite hard to perform the tasks that several remark and rehype\nplugins currently do.\n\n## When should I use this?\n\nThis project is useful when you want to turn markdown to HTML.\nIt opens up a whole new ecosystem with tons of plugins to do all kinds of\nthings.\nYou can [minify HTML][github-rehype-minify],\n[format HTML][github-rehype-format],\n[make sure it’s safe][github-rehype-sanitize],\n[highlight code][github-rehype-starry-night],\n[add metadata][github-rehype-meta],\nand a lot more.\n\nA different plugin,\n[`rehype-raw`][github-rehype-raw],\nadds support for raw HTML written inside markdown.\nThis is a separate plugin because supporting HTML inside markdown is a heavy\ntask (performance and bundle size) and not always needed.\nTo use both together,\nyou also have to configure `remark-rehype` with `allowDangerousHtml: true` and\nthen use `rehype-raw`.\n\nThe rehype plugin [`rehype-remark`][github-rehype-remark] does the inverse of\nthis plugin.\nIt turns HTML into markdown.\n\nIf you don’t use plugins and want to access syntax trees,\nyou can use\n[`mdast-util-to-hast`][github-mdast-util-to-hast].\n\n## Install\n\nThis package is [ESM only][github-gist-esm].\nIn Node.js (version 16+),\ninstall with [npm][npmjs-install]:\n\n```sh\nnpm install remark-rehype\n```\n\nIn Deno with [`esm.sh`][esmsh]:\n\n```js\nimport remarkRehype from 'https://esm.sh/remark-rehype@11'\n```\n\nIn browsers with [`esm.sh`][esmsh]:\n\n```html\n<script type=\"module\">\n  import remarkRehype from 'https://esm.sh/remark-rehype@11?bundle'\n</script>\n```\n\n## Use\n\nSay our document `example.md` contains:\n\n```markdown\n# Pluto\n\n**Pluto** (minor-planet designation: **134340 Pluto**) is a\n[dwarf planet](https://en.wikipedia.org/wiki/Dwarf_planet) in the\n[Kuiper belt](https://en.wikipedia.org/wiki/Kuiper_belt).\n```\n\n…and our module `example.js` contains:\n\n```js\nimport rehypeDocument from 'rehype-document'\nimport rehypeFormat from 'rehype-format'\nimport rehypeStringify from 'rehype-stringify'\nimport remarkParse from 'remark-parse'\nimport remarkRehype from 'remark-rehype'\nimport {read} from 'to-vfile'\nimport {unified} from 'unified'\nimport {reporter} from 'vfile-reporter'\n\nconst file = await unified()\n  .use(remarkParse)\n  .use(remarkRehype)\n  .use(rehypeDocument)\n  .use(rehypeFormat)\n  .use(rehypeStringify)\n  .process(await read('example.md'))\n\nconsole.error(reporter(file))\nconsole.log(String(file))\n```\n\n…then running `node example.js` yields:\n\n```text\nexample.md: no issues found\n```\n\n```html\n<!doctype html>\n<html lang=\"en\">\n  <head>\n    <meta charset=\"utf-8\">\n    <title>example</title>\n    <meta content=\"width=device-width, initial-scale=1\" name=\"viewport\">\n  </head>\n  <body>\n    <h1>Pluto</h1>\n    <p>\n      <strong>Pluto</strong> (minor-planet designation: <strong>134340 Pluto</strong>) is a\n      <a href=\"https://en.wikipedia.org/wiki/Dwarf_planet\">dwarf planet</a> in the\n      <a href=\"https://en.wikipedia.org/wiki/Kuiper_belt\">Kuiper belt</a>.\n    </p>\n  </body>\n</html>\n```\n\n## API\n\nThis package exports the identifiers\n[`defaultFootnoteBackContent`][api-default-footnote-back-content],\n[`defaultFootnoteBackLabel`][api-default-footnote-back-label],\nand\n[`defaultHandlers`][api-default-handlers].\nThe default export is [`remarkRehype`][api-remark-rehype].\n\n### `defaultFootnoteBackContent(referenceIndex, rereferenceIndex)`\n\nSee [`defaultFootnoteBackContent` from\n`mdast-util-to-hast`][github-mdast-util-to-hast-default-back-content].\n\n### `defaultFootnoteBackLabel(referenceIndex, rereferenceIndex)`\n\nSee [`defaultFootnoteBackLabel` from\n`mdast-util-to-hast`][github-mdast-util-to-hast-default-back-label].\n\n### `defaultHandlers`\n\nSee [`defaultHandlers` from\n`mdast-util-to-hast`][github-mdast-util-to-hast-default-handlers].\n\n### `unified().use(remarkRehype[, destination][, options])`\n\nTurn markdown into HTML.\n\n###### Parameters\n\n* `destination`\n  ([`Processor`][github-unified-processor], optional)\n  — processor\n* `options`\n  ([`Options`][api-options], optional)\n  — configuration\n\n###### Returns\n\nTransform ([`Transformer`][github-unified-transformer]).\n\n##### Notes\n\n###### Signature\n\n* if a [processor][github-unified-processor] is given,\n  runs the (rehype) plugins used on it with a hast tree,\n  then discards the result\n  ([*bridge mode*][github-unified-mode])\n* otherwise,\n  returns a hast tree,\n  the plugins used after `remarkRehype` are rehype plugins\n  ([*mutate mode*][github-unified-mode])\n\n> ???? **Note**:\n> it’s highly unlikely that you want to pass a `processor`.\n\n###### HTML\n\nRaw HTML is available in mdast as [`html`][github-mdast-html] nodes and can be\nembedded in hast as semistandard `raw` nodes.\nMost plugins ignore `raw` nodes but two notable ones don’t:\n\n* [`rehype-stringify`][github-rehype-stringify] also has an option\n  `allowDangerousHtml` which will output the raw HTML;\n  this is typically discouraged as noted by the option name but is useful if\n  you completely trust authors\n* [`rehype-raw`][github-rehype-raw] can handle the raw embedded HTML strings by\n  parsing them into standard hast nodes\n  (`element`, `text`, etc);\n  This is a heavy task as it needs a full HTML parser,\n  but it is the only way to support untrusted content\n\n###### Footnotes\n\nMany options supported here relate to footnotes.\nFootnotes are not specified by CommonMark,\nwhich we follow by default.\nThey are supported by GitHub,\nso footnotes can be enabled in markdown with [`remark-gfm`][github-remark-gfm].\n\nThe options `footnoteBackLabel` and `footnoteLabel` define natural language\nthat explains footnotes,\nwhich is hidden for sighted users but shown to assistive technology.\nWhen your page is not in English,\nyou must define translated values.\n\nBack references use ARIA attributes,\nbut the section label itself uses a heading that is hidden with an\n`sr-only` class.\nTo show it to sighted users,\ndefine different attributes in `footnoteLabelProperties`.\n\n###### Clobbering\n\nFootnotes introduces a problem,\nas it links footnote calls to footnote definitions on the page through `id`\nattributes generated from user content,\nwhich results in DOM clobbering.\n\nDOM clobbering is this:\n\n```html\n<p id=x></p>\n<script>alert(x) // `x` now refers to the DOM `p#x` element</script>\n```\n\nElements by their ID are made available by browsers on the `window` object,\nwhich is a security risk.\nUsing a prefix solves this problem.\n\nMore information on how to handle clobbering and the prefix is explained in\n[*Example: headings (DOM clobbering)* in\n`rehype-sanitize`][github-rehype-sanitize-clobber].\n\n###### Unknown nodes\n\nUnknown nodes are nodes with a type that isn’t in `handlers` or `passThrough`.\nThe default behavior for unknown nodes is:\n\n* when the node has a `value`\n  (and doesn’t have `data.hName`, `data.hProperties`, or `data.hChildren`,\n  see later),\n  create a hast `text` node\n* otherwise,\n  create a `<div>` element\n  (which could be changed with `data.hName`),\n  with its children mapped from mdast to hast as well\n\nThis behavior can be changed by passing an `unknownHandler`.\n\n### `Options`\n\nConfiguration (TypeScript type).\n\n###### Fields\n\n* `allowDangerousHtml`\n  (`boolean`, default: `false`)\n  — whether to persist raw HTML in markdown in the hast tree\n* `clobberPrefix`\n  (`string`, default: `'user-content-'`)\n  — prefix to use before the `id` property on footnotes to prevent them from\n  *clobbering*\n* `footnoteBackContent`\n  ([`FootnoteBackContentTemplate` from\n  `mdast-util-to-hast`][github-mdast-util-to-hast-back-content-template]\n  or `string`, default:\n  [`defaultFootnoteBackContent` from\n  `mdast-util-to-hast`][github-mdast-util-to-hast-default-back-content])\n  — content of the backreference back to references\n* `footnoteBackLabel`\n  ([`FootnoteBackLabelTemplate` from\n  `mdast-util-to-hast`][github-mdast-util-to-hast-back-label-template]\n  or `string`, default:\n  [`defaultFootnoteBackLabel` from\n  `mdast-util-to-hast`][github-mdast-util-to-hast-default-back-label])\n  — label to describe the backreference back to references\n* `footnoteLabel`\n  (`string`, default: `'Footnotes'`)\n  — label to use for the footnotes section (affects screen readers)\n* `footnoteLabelProperties`\n  ([`Properties` from `@types/hast`][github-hast-properties], default:\n  `{className: ['sr-only']}`)\n  — properties to use on the footnote label\n  (note that `id: 'footnote-label'` is always added as footnote calls use it\n  with `aria-describedby` to provide an accessible label)\n* `footnoteLabelTagName`\n  (`string`, default: `h2`)\n  — tag name to use for the footnote label\n* `handlers`\n  ([`Handlers` from\n  `mdast-util-to-hast`][github-mdast-util-to-hast-handlers], optional)\n  — extra handlers for nodes\n* `passThrough`\n  (`Array<Nodes['type']>`, optional)\n  — list of custom mdast node types to pass through (keep) in hast (note that\n  the node itself is passed, but eventual children are transformed)\n* `unknownHandler`\n  ([`Handler` from\n  `mdast-util-to-hast`][github-mdast-util-to-hast-handler], optional)\n  — handle all unknown nodes\n\n## Examples\n\n### Example: supporting HTML in markdown naïvely\n\nIf you completely trust the authors of the input markdown and want to allow them\nto write HTML inside markdown,\nyou can pass `allowDangerousHtml` to `remark-rehype` and `rehype-stringify`:\n\n```js\nimport rehypeStringify from 'rehype-stringify'\nimport remarkParse from 'remark-parse'\nimport remarkRehype from 'remark-rehype'\nimport {unified} from 'unified'\n\nconst file = await unified()\n  .use(remarkParse)\n  .use(remarkRehype, {allowDangerousHtml: true})\n  .use(rehypeStringify, {allowDangerousHtml: true})\n  .process('<a href=\"/wiki/Dysnomia_(moon)\" onclick=\"alert(1)\">Dysnomia</a>')\n\nconsole.log(String(file))\n```\n\nYields:\n\n```html\n<p><a href=\"/wiki/Dysnomia_(moon)\" onclick=\"alert(1)\">Dysnomia</a></p>\n```\n\n> ⚠️ **Danger**:\n> observe that the XSS attack through `onclick` is present.\n\n### Example: supporting HTML in markdown properly\n\nIf you do not trust the authors of the input markdown,\nor if you want to make sure that rehype plugins can see HTML embedded in\nmarkdown,\nuse [`rehype-raw`][github-rehype-raw].\nThe following example passes `allowDangerousHtml` to `remark-rehype`,\nthen turns the raw embedded HTML into proper HTML nodes with `rehype-raw`,\nand finally sanitizes the HTML by only allowing safe things with\n`rehype-sanitize`:\n\n```js\nimport rehypeSanitize from 'rehype-sanitize'\nimport rehypeStringify from 'rehype-stringify'\nimport rehypeRaw from 'rehype-raw'\nimport remarkParse from 'remark-parse'\nimport remarkRehype from 'remark-rehype'\nimport {unified} from 'unified'\n\nconst file = await unified()\n  .use(remarkParse)\n  .use(remarkRehype, {allowDangerousHtml: true})\n  .use(rehypeRaw)\n  .use(rehypeSanitize)\n  .use(rehypeStringify)\n  .process('<a href=\"/wiki/Dysnomia_(moon)\" onclick=\"alert(1)\">Dysnomia</a>')\n\nconsole.log(String(file))\n```\n\nRunning that code yields:\n\n```html\n<p><a href=\"/wiki/Dysnomia_(moon)\">Dysnomia</a></p>\n```\n\n> ⚠️ **Danger**:\n> observe that the XSS attack through `onclick` is **not** present.\n\n### Example: footnotes in languages other than English\n\nIf you know that the markdown is authored in a language other than English,\nand you’re using `remark-gfm` to match how GitHub renders markdown,\nand you know that footnotes are (or can?) be used,\nyou should translate the labels associated with them.\n\nLet’s first set the stage:\n\n```js\nimport {unified} from 'unified'\nimport remarkParse from 'remark-parse'\nimport remarkGfm from 'remark-gfm'\nimport remarkRehype from 'remark-rehype'\nimport rehypeStringify from 'rehype-stringify'\n\nconst doc = `\nCeres ist nach der römischen Göttin des Ackerbaus benannt;\nihr astronomisches Symbol ist daher eine stilisierte Sichel: ⚳.[^nasa-2015]\n\n[^nasa-2015]: JPL/NASA:\n    [*What is a Dwarf Planet?*](https://www.jpl.nasa.gov/infographics/what-is-a-dwarf-planet)\n    In: Jet Propulsion Laboratory.\n    22. April 2015,\n    abgerufen am 19. Januar 2022 (englisch).\n`\n\nconst file = await unified()\n  .use(remarkParse)\n  .use(remarkGfm)\n  .use(remarkRehype)\n  .use(rehypeStringify)\n  .process(doc)\n\nconsole.log(String(file))\n```\n\nYields:\n\n```html\n<p>Ceres ist nach der römischen Göttin des Ackerbaus benannt;\nihr astronomisches Symbol ist daher eine stilisierte Sichel: ⚳.<sup><a href=\"#user-content-fn-nasa-2015\" id=\"user-content-fnref-nasa-2015\" data-footnote-ref aria-describedby=\"footnote-label\">1</a></sup></p>\n<section data-footnotes class=\"footnotes\"><h2 class=\"sr-only\" id=\"footnote-label\">Footnotes</h2>\n<ol>\n<li id=\"user-content-fn-nasa-2015\">\n<p>JPL/NASA:\n<a href=\"https://www.jpl.nasa.gov/infographics/what-is-a-dwarf-planet\"><em>What is a Dwarf Planet?</em></a>\nIn: Jet Propulsion Laboratory.\n22. April 2015,\nabgerufen am 19. Januar 2022 (englisch). <a href=\"#user-content-fnref-nasa-2015\" data-footnote-backref=\"\" aria-label=\"Back to reference 1\" class=\"data-footnote-backref\">↩</a></p>\n</li>\n</ol>\n</section>\n```\n\nThis is a mix of English and German that isn’t very accessible,\nsuch as that screen readers can’t handle it nicely.\nLet’s say our program *does* know that the markdown is in German.\nIn that case,\nit’s important to translate and define the labels relating to footnotes so that\nscreen reader users can properly pronounce the page:\n\n```diff\n@@ -18,7 +18,16 @@ ihr astronomisches Symbol ist daher eine stilisierte Sichel: ⚳.[^nasa-2015]\n const file = await unified()\n   .use(remarkParse)\n   .use(remarkGfm)\n-  .use(remarkRehype)\n+  .use(remarkRehype, {\n+    footnoteBackLabel(referenceIndex, rereferenceIndex) {\n+      return (\n+        'Hochspringen nach: ' +\n+        (referenceIndex + 1) +\n+        (rereferenceIndex > 1 ? '-' + rereferenceIndex : '')\n+      )\n+    },\n+    footnoteLabel: 'Fußnoten'\n+  })\n   .use(rehypeStringify)\n   .process(doc)\n```\n\nRunning the code with the above patch applied,\nyields:\n\n```diff\n@@ -1,13 +1,13 @@\n <p>Ceres ist nach der römischen Göttin des Ackerbaus benannt;\n ihr astronomisches Symbol ist daher eine stilisierte Sichel: ⚳.<sup><a href=\"#user-content-fn-nasa-2015\" id=\"user-content-fnref-nasa-2015\" data-footnote-ref aria-describedby=\"footnote-label\">1</a></sup></p>\n-<section data-footnotes class=\"footnotes\"><h2 class=\"sr-only\" id=\"footnote-label\">Footnotes</h2>\n+<section data-footnotes class=\"footnotes\"><h2 class=\"sr-only\" id=\"footnote-label\">Fußnoten</h2>\n <ol>\n <li id=\"user-content-fn-nasa-2015\">\n <p>JPL/NASA:\n <a href=\"https://www.jpl.nasa.gov/infographics/what-is-a-dwarf-planet\"><em>What is a Dwarf Planet?</em></a>\n In: Jet Propulsion Laboratory.\n 22. April 2015,\n-abgerufen am 19. Januar 2022 (englisch). <a href=\"#user-content-fnref-nasa-2015\" data-footnote-backref=\"\" aria-label=\"Back to reference 1\" class=\"data-footnote-backref\">↩</a></p>\n+abgerufen am 19. Januar 2022 (englisch). <a href=\"#user-content-fnref-nasa-2015\" data-footnote-backref=\"\" aria-label=\"Hochspringen nach: 1\" class=\"data-footnote-backref\">↩</a></p>\n </li>\n </ol>\n </section>\n```\n\n## HTML\n\nSee [*Algorithm* in\n`mdast-util-to-hast`](https://github.com/syntax-tree/mdast-util-to-hast#algorithm)\nfor info on how mdast (markdown) nodes are transformed to hast (HTML).\n\n## CSS\n\nAssuming you know how to use (semantic) HTML and CSS,\nthen it should generally be straightforward to style the HTML produced by this\nplugin.\nWith CSS,\nyou can get creative and style the results as you please.\n\nSome semistandard features,\nnotably GFMs tasklists and footnotes,\ngenerate HTML that be unintuitive,\nas it matches exactly what GitHub produces for their website.\nThere is a project,\n[`sindresorhus/github-markdown-css`][github-markdown-css],\nthat exposes the stylesheet that GitHub uses for rendered markdown,\nwhich might either be inspirational for more complex features,\nor can be used as-is to exactly match how GitHub styles rendered markdown.\n\nThe following CSS is needed to make footnotes look a bit like GitHub:\n\n```css\n/* Style the footnotes section. */\n.footnotes {\n  font-size: smaller;\n  color: #8b949e;\n  border-top: 1px solid #30363d;\n}\n\n/* Hide the section label for visual users. */\n.sr-only {\n  position: absolute;\n  width: 1px;\n  height: 1px;\n  padding: 0;\n  overflow: hidden;\n  clip: rect(0, 0, 0, 0);\n  word-wrap: normal;\n  border: 0;\n}\n\n/* Place `[` and `]` around footnote calls. */\n[data-footnote-ref]::before {\n  content: '[';\n}\n\n[data-footnote-ref]::after {\n  content: ']';\n}\n```\n\n## Syntax tree\n\nThis projects turns [mdast][github-mdast] (markdown) into [hast][github-hast]\n(HTML).\n\nIt extends mdast by supporting `data` fields on mdast nodes to specify how they\nshould be transformed.\nSee [*Fields on nodes* in\n`mdast-util-to-hast`](https://github.com/syntax-tree/mdast-util-to-hast#fields-on-nodes)\nfor info on how these fields work.\n\nIt extends hast by using a semistandard raw nodes for raw HTML.\nSee the [*HTML* note above](#html) for more info.\n\n## Types\n\nThis package is fully typed with [TypeScript][].\nIt exports the types\n[`Options`][api-options].\n\nThe types of `mdast-util-to-hast` can be referenced to register data fields\nwith `@types/mdast` and `Raw` nodes with `@types/hast`.\n\n```js\n/**\n * @import {Root as HastRoot} from 'hast'\n * @import {Root as MdastRoot} from 'mdast'\n * @import {} from 'mdast-util-to-hast'\n */\n\nimport {visit} from 'unist-util-visit'\n\nconst mdastNode = /** @type {MdastRoot} */ ({/* … */})\nconsole.log(mdastNode.data?.hName) // Typed as `string | undefined`.\n\nconst hastNode = /** @type {HastRoot} */ ({/* … */})\n\nvisit(hastNode, function (node) {\n  // `node` can now be `raw`.\n})\n```\n\n## Compatibility\n\nProjects maintained by the unified collective are compatible with maintained\nversions of Node.js.\n\nWhen we cut a new major release,\nwe drop support for unmaintained versions of Node.\nThis means we try to keep the current release line,\n`remark-rehype@11`,\ncompatible with Node.js 16.\n\nThis plugin works with `unified` version 6+,\n`remark-parse` version 3+\n(used in `remark` version 7),\nand `rehype-stringify` version 3+\n(used in `rehype` version 5).\n\n## Security\n\nUse of `remark-rehype` can open you up to a\n[cross-site scripting (XSS)][wikipedia-xss] attack.\nEmbedded **[hast][github-hast]** properties\n(`hName`, `hProperties`, `hChildren`)\nin [mdast][github-mdast],\ncustom handlers,\nand the `allowDangerousHtml` option all provide openings.\nUse [`rehype-sanitize`][github-rehype-sanitize] to make the tree safe.\n\n## Related\n\n* [`rehype-raw`][github-rehype-raw]\n  — rehype plugin to parse the tree again and support `raw` nodes\n* [`rehype-sanitize`][github-rehype-sanitize]\n  — rehype plugin to sanitize HTML\n* [`rehype-remark`][github-rehype-remark]\n  — rehype plugin to turn HTML into markdown\n* [`rehype-retext`](https://github.com/rehypejs/rehype-retext)\n  — rehype plugin to support retext\n* [`remark-retext`](https://github.com/remarkjs/remark-retext)\n  — remark plugin to support retext\n\n## Contribute\n\nSee [`contributing.md`][health-contributing] in [`remarkjs/.github`][health]\nfor ways to get started.\nSee [`support.md`][health-support] for ways to get help.\n\nThis project has a [code of conduct][health-coc].\nBy interacting with this repository,\norganization,\nor community you agree to abide by its terms.\n\n## License\n\n[MIT][file-license] © [Titus Wormer][wooorm]\n\n<!-- Definitions -->\n\n[api-default-footnote-back-content]: #defaultfootnotebackcontentreferenceindex-rereferenceindex\n\n[api-default-footnote-back-label]: #defaultfootnotebacklabelreferenceindex-rereferenceindex\n\n[api-default-handlers]: #defaulthandlers\n\n[api-options]: #options\n\n[api-remark-rehype]: #unifieduseremarkrehype-destination-options\n\n[badge-build-image]: https://github.com/remarkjs/remark-rehype/workflows/main/badge.svg\n\n[badge-build-url]: https://github.com/remarkjs/remark-rehype/actions\n\n[badge-coverage-image]: https://img.shields.io/codecov/c/github/remarkjs/remark-rehype.svg\n\n[badge-coverage-url]: https://codecov.io/github/remarkjs/remark-rehype\n\n[badge-downloads-image]: https://img.shields.io/npm/dm/remark-rehype.svg\n\n[badge-downloads-url]: https://www.npmjs.com/package/remark-rehype\n\n[badge-size-image]: https://img.shields.io/bundlejs/size/remark-rehype\n\n[badge-size-url]: https://bundlejs.com/?q=remark-rehype\n\n[esmsh]: https://esm.sh\n\n[file-license]: license\n\n[github-gist-esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c\n\n[github-hast]: https://github.com/syntax-tree/hast\n\n[github-hast-properties]: https://github.com/syntax-tree/hast#properties\n\n[github-markdown-css]: https://github.com/sindresorhus/github-markdown-css\n\n[github-mdast]: https://github.com/syntax-tree/mdast\n\n[github-mdast-html]: https://github.com/syntax-tree/mdast#html\n\n[github-mdast-util-to-hast]: https://github.com/syntax-tree/mdast-util-to-hast\n\n[github-mdast-util-to-hast-back-content-template]: https://github.com/syntax-tree/mdast-util-to-hast#footnotebackcontenttemplate\n\n[github-mdast-util-to-hast-back-label-template]: https://github.com/syntax-tree/mdast-util-to-hast#footnotebacklabeltemplate\n\n[github-mdast-util-to-hast-default-back-content]: https://github.com/syntax-tree/mdast-util-to-hast#defaultfootnotebackcontentreferenceindex-rereferenceindex\n\n[github-mdast-util-to-hast-default-back-label]: https://github.com/syntax-tree/mdast-util-to-hast#defaultfootnotebacklabelreferenceindex-rereferenceindex\n\n[github-mdast-util-to-hast-default-handlers]: https://github.com/syntax-tree/mdast-util-to-hast#defaulthandlers\n\n[github-mdast-util-to-hast-handler]: https://github.com/syntax-tree/mdast-util-to-hast#handler\n\n[github-mdast-util-to-hast-handlers]: https://github.com/syntax-tree/mdast-util-to-hast#handlers\n\n[github-rehype]: https://github.com/rehypejs/rehype\n\n[github-rehype-format]: https://github.com/rehypejs/rehype-format\n\n[github-rehype-meta]: https://github.com/rehypejs/rehype-meta\n\n[github-rehype-minify]: https://github.com/rehypejs/rehype-minify\n\n[github-rehype-raw]: https://github.com/rehypejs/rehype-raw\n\n[github-rehype-remark]: https://github.com/rehypejs/rehype-remark\n\n[github-rehype-sanitize]: https://github.com/rehypejs/rehype-sanitize\n\n[github-rehype-sanitize-clobber]: https://github.com/rehypejs/rehype-sanitize#example-headings-dom-clobbering\n\n[github-rehype-starry-night]: https://github.com/rehypejs/rehype-starry-night\n\n[github-rehype-stringify]: https://github.com/rehypejs/rehype/tree/main/packages/rehype-stringify\n\n[github-remark]: https://github.com/remarkjs/remark\n\n[github-remark-gfm]: https://github.com/remarkjs/remark-gfm\n\n[github-unified]: https://github.com/unifiedjs/unified\n\n[github-unified-mode]: https://github.com/unifiedjs/unified#transforming-between-ecosystems\n\n[github-unified-processor]: https://github.com/unifiedjs/unified#processor\n\n[github-unified-transformer]: https://github.com/unifiedjs/unified#transformer\n\n[health]: https://github.com/remarkjs/.github\n\n[health-coc]: https://github.com/remarkjs/.github/blob/main/code-of-conduct.md\n\n[health-contributing]: https://github.com/remarkjs/.github/blob/main/contributing.md\n\n[health-support]: https://github.com/remarkjs/.github/blob/main/support.md\n\n[npmjs-install]: https://docs.npmjs.com/cli/install\n\n[typescript]: https://www.typescriptlang.org\n\n[wikipedia-xss]: https://en.wikipedia.org/wiki/Cross-site_scripting\n\n[wooorm]: https://wooorm.com\n","_attachments":{},"homepage":"https://github.com/remarkjs/remark-rehype#readme","bugs":{"url":"https://github.com/remarkjs/remark-rehype/issues"},"license":"MIT"}