{"_id":"rehype-code-titles","_rev":"8-285b31e600b933e7f9ebc2f8aaa96b6c","name":"rehype-code-titles","dist-tags":{"latest":"1.2.1"},"versions":{"1.0.0":{"name":"rehype-code-titles","version":"1.0.0","keywords":["code-titles","html","mdx","rehype","rehype-plugin","remark","unified"],"author":{"url":"https://codybrunner.dev","name":"Cody Brunner","email":"me@codybrunner.dev"},"license":"MIT","_id":"rehype-code-titles@1.0.0","maintainers":[{"name":"rockchalkwushock","email":"me@codybrunner.dev"}],"homepage":"https://github.com/rockchalkwushock/rehype-code-titles#readme","bugs":{"url":"https://github.com/rockchalkwushock/rehype-code-titles/issues"},"dist":{"shasum":"f9d3e61821cc9e146e18f115f321312f400d8133","tarball":"https://registry.npmjs.org/rehype-code-titles/-/rehype-code-titles-1.0.0.tgz","fileCount":6,"integrity":"sha512-Wfjp4zdcDObVdPkG3mz9wP0k4FLHxlnIywZUsJSlRZxsZOtr9Xox2w+bZFdryN+EHxITbDvv0sJiRyQwJw89og==","signatures":[{"sig":"MEQCIHT9QovzQRJ/sehuC4UyWDrf0ibtg8vQTE4qOkIN56W6AiAmpo1obTY3BXGgIyjJpkECAFXgfqgu2gOAUHRzQ5+ivw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11136,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJggh81CRA9TVsSAnZWagAAxgoP/i95T4XLJQPoahz2KOso\ng2uvQuQ1Wz9nWgM6wE7VDs5CiqaQz6Uk4/t2zdA30zL6YxC1PT93m7TULmzQ\ntLr+sq4nwdmyGrkjSxSTZnMuStUmQg0tm30yWYLAlTsD+rIa84b5T4ZzI7mD\nQLOSoZtpTLU+w8Ayq3SeBtHVkkBJf4tTCE5ES9QjS8MKNp9YugDZpKiRDW96\nVOW3jZwotIMxNEyCObgS5nLHH2MwL55nOXStxDfnNKbrKP70z/XSSjzSFuUs\nuR2q05dB+KwIUMuPeV5l4Ut3UgQ0vqn9quI8oERomGOxDFefzVmUHHytlBU7\nvSmQbN4yOfRc7L3vVKcDw6z4Zr8M9g5ZbxvmmnZ4jmedWAz6pJh5ZgkRLSQu\nVe8cA58vMryWcXZjMqW9UWpqS308bzdhbToseXz5lCrkSgpCYEij6qfABuha\nOLmjrYII1YcjyHXE5Ubj+Thq4sTvW7+tZT4PTC3hjUR6YsR56f2uZ8cFDfnk\nQWRsbr8LkpYbz8bUKIngQ6T17A6QqL8dPd46SrKLSPDO5SsyKx9+A2GyQlkh\nE/x+a/IBqhxKhVZfowjXNybGVylzPOnlHkLYsiJNZMPTQTm2tKy8jJZovxVD\nBRkmY0z5dWc0iP0tlx04mIFWe/1EGFljdJ3c25zEXX7a1YEistP0QrDIqT99\nZs7V\r\n=sBvd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","config":{"commitizen":{"path":"cz-conventional-changelog"}},"gitHead":"89410cbb64ccd73e45a8ceebb067d7f330104447","scripts":{"lint":"eslint","test":"jest --maxWorkers=50%","build":"tsc","commit":"git cz","format":"prettier --write","prepare":"husky install","release":"standard-version","test:ci":"jest --ci --passWithNoTests --runInBand","test:watch":"jest --maxWorkers=25% --onlyChanged --watch","type-check":"tsc --noEmit","test:coverage":"yarn test --coverage"},"typings":"dist/index.d.ts","_npmUser":{"name":"rockchalkwushock","email":"me@codybrunner.dev"},"prettier":{"semi":false,"tabWidth":2,"arrowParens":"avoid","singleQuote":true,"trailingComma":"es5"},"commitlint":{"extends":["@commitlint/config-conventional"]},"repository":{"url":"git+https://github.com/rockchalkwushock/rehype-code-titles.git","type":"git"},"_npmVersion":"6.14.12","description":"Rehype plugin for parsing code blocks and adding titles to code blocks","directories":{},"lint-staged":{"*.+(ts|tsx)":["eslint --fix","tsc --esModuleInterop --noEmit","jest --lastCommit --maxWorkers=25% --passWithNoTests"],"*.+(js|json|md|mdx|ts|tsx|yml|yaml)":["prettier --write"]},"_nodeVersion":"14.16.1","dependencies":{"unist-util-visit":"^3.0.0"},"eslintConfig":{"extends":"@rockchalkwushock/eslint-config","ignorePatterns":["package.json","tsconfig.json"]},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^6.0.0","dedent":"^0.7.0","eslint":"^7.24.0","rehype":"^11.0.0","ts-jest":"^26.5.5","prettier":"^2.2.1","commitizen":"^4.2.3","typescript":"^4.2.4","@types/jest":"^26.0.22","@types/node":"^14.14.41","lint-staged":"^10.5.4","@types/unist":"^2.0.3","@types/dedent":"^0.7.0","@commitlint/cli":"^12.1.1","standard-version":"^9.2.0","cz-conventional-changelog":"^3.3.0","@commitlint/config-conventional":"^12.1.1","@rockchalkwushock/eslint-config":"^1.0.3"},"standard-version":{"types":[{"type":"fix","section":"Bugs 🐛"},{"type":"feat","section":"Features 🎉"},{"type":"test","section":"Tests 🧪"}]},"_npmOperationalInternal":{"tmp":"tmp/rehype-code-titles_1.0.0_1619140405137_0.820267332663039","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"rehype-code-titles","version":"1.0.1","keywords":["code-titles","html","mdx","rehype","rehype-plugin","remark","unified"],"author":{"url":"https://codybrunner.dev","name":"Cody Brunner","email":"me@codybrunner.dev"},"license":"MIT","_id":"rehype-code-titles@1.0.1","maintainers":[{"name":"rockchalkwushock","email":"me@codybrunner.dev"}],"homepage":"https://github.com/rockchalkwushock/rehype-code-titles#readme","bugs":{"url":"https://github.com/rockchalkwushock/rehype-code-titles/issues"},"dist":{"shasum":"6fc2ef1db09f0a31f53d52195296cf5e0d4d2ada","tarball":"https://registry.npmjs.org/rehype-code-titles/-/rehype-code-titles-1.0.1.tgz","fileCount":6,"integrity":"sha512-IXVZ87ICrvVDngrHGNFJgRfhPqMfOjh9LGrMG7PDVpNlR+FEMTecDwCmhPRpwjPpVIIykMLRsHWo6FJ9aixQRQ==","signatures":[{"sig":"MEQCIA+Pms6icGQCagZwYF8rO8NaS0B3jZIvC7xztk1dB8ZiAiBuScYyFppPCcMY+6t+aW9XfC67N0M1Jg/lksWG13hGdg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11412,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJggiIDCRA9TVsSAnZWagAANDAP/izKcQ4SOVrbmD9Ai9r0\naHVHau3IEcWYUIC/4v/yb8nHcq+0bf8hTWSBB3DFcnJq9x8gYch4vPXnHJZG\nEwb76C21XZt5Pxi3LCNEI77S91cEvWuUmRMhWnk3l6Hm/c6MDufl9KFVKwvR\n0d7+6+FNdnVfCj0KtWe4d3tvcjcJmUMgX5aabHFdZM67oQWxvEyp7vk0Lj17\nh+A5YYT9Q/mrlflZUK9brcLEslHrJPSOqlwLAArc5muwHu2KbAXFQ9ZOqYz6\nnng6gra3PpelWRen9oCOExhcNQqoopD973YEjBF6KsO0SuZvN6zqEQ9QcW+B\nDKBLOaLhQ8QnhSBeJU3szinXSFZumvidQm9+P9cx5+lbj8XiUgIicKrC0g/7\ni1bBgxCsKfFQJubGQGCs26Dgc6d49tmJLe0VfqSSqSYf5vjHVePfctCGUkoz\n/w3i5zwRnF/342oaVIpIFCrk2d4rlRIF39F44sMnXWHQpiQYkPi1vOXzEUtE\noocrqjlQGMGZdzbrpAdwCkMsKF3PZMOQuYppsOS8pB7kO2T+SyVACceVuJ20\nUekVB/TNM1jOCjLf6Wk2p0wUZ9NbqceAxL9gTz2rszUySAPDHSYrGTCNwZo1\nB0RHGVwluj2nPp+cuNaKlBAWCUU9qeELahuEjgE/pAKjPYAkpbvBolOO92mA\nQeVD\r\n=kaIS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","config":{"commitizen":{"path":"cz-conventional-changelog"}},"gitHead":"5ba7dc8bf971fc2eef1f49dc36fe2d04b95905c1","scripts":{"lint":"eslint","test":"jest --maxWorkers=50%","build":"tsc","commit":"git cz","format":"prettier --write","prepare":"husky install","release":"standard-version","test:ci":"jest --ci --passWithNoTests --runInBand","test:watch":"jest --maxWorkers=25% --onlyChanged --watch","type-check":"tsc --noEmit","test:coverage":"yarn test --coverage"},"typings":"dist/index.d.ts","_npmUser":{"name":"rockchalkwushock","email":"me@codybrunner.dev"},"prettier":{"semi":false,"tabWidth":2,"arrowParens":"avoid","singleQuote":true,"trailingComma":"es5"},"commitlint":{"extends":["@commitlint/config-conventional"]},"repository":{"url":"git+https://github.com/rockchalkwushock/rehype-code-titles.git","type":"git"},"_npmVersion":"6.14.12","description":"Rehype plugin for parsing code blocks and adding titles to code blocks","directories":{},"lint-staged":{"*.+(ts|tsx)":["eslint --fix","tsc --esModuleInterop --noEmit","jest --lastCommit --maxWorkers=25% --passWithNoTests"],"*.+(js|json|md|mdx|ts|tsx|yml|yaml)":["prettier --write"]},"_nodeVersion":"14.16.1","dependencies":{"unist-util-visit":"^3.0.0"},"eslintConfig":{"extends":"@rockchalkwushock/eslint-config","ignorePatterns":["package.json","tsconfig.json"]},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^6.0.0","dedent":"^0.7.0","eslint":"^7.24.0","rehype":"^11.0.0","ts-jest":"^26.5.5","prettier":"^2.2.1","commitizen":"^4.2.3","typescript":"^4.2.4","@types/jest":"^26.0.22","@types/node":"^14.14.41","lint-staged":"^10.5.4","@types/unist":"^2.0.3","@types/dedent":"^0.7.0","@commitlint/cli":"^12.1.1","standard-version":"^9.2.0","cz-conventional-changelog":"^3.3.0","@commitlint/config-conventional":"^12.1.1","@rockchalkwushock/eslint-config":"^1.0.3"},"standard-version":{"types":[{"type":"fix","section":"Bugs 🐛"},{"type":"feat","section":"Features 🎉"},{"type":"test","section":"Tests 🧪"}]},"_npmOperationalInternal":{"tmp":"tmp/rehype-code-titles_1.0.1_1619141122796_0.22681785060761905","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"rehype-code-titles","version":"1.0.2","keywords":["code-titles","html","mdx","rehype","rehype-plugin","remark","unified"],"author":{"url":"https://codybrunner.dev","name":"Cody Brunner","email":"me@codybrunner.dev"},"license":"MIT","_id":"rehype-code-titles@1.0.2","maintainers":[{"name":"rockchalkwushock","email":"me@codybrunner.dev"}],"homepage":"https://github.com/rockchalkwushock/rehype-code-titles#readme","bugs":{"url":"https://github.com/rockchalkwushock/rehype-code-titles/issues"},"dist":{"shasum":"b6d7ed2ae134e185090dfaa67da6b50b07ec1446","tarball":"https://registry.npmjs.org/rehype-code-titles/-/rehype-code-titles-1.0.2.tgz","fileCount":6,"integrity":"sha512-Ws2hbY8MWfaTa052rO0jaRYA6s+d8qaYfoXKWljEfTHibIPmn7b3Vr5q+Pum7oLGUUIX47/k5whGOn1lG7JBZQ==","signatures":[{"sig":"MEUCIH9eaRlZzWblQy9jLkAal55lI2DiCDV5w+jLIMuz6ZO+AiEAuGMk+dmruxj+pzQS+t/zwfz55RZZVHaGhliHK/C3Mek=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11916,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgiYPRCRA9TVsSAnZWagAAq/0P/ixXSXx+/Wy9cHNA7Wk9\nU+tGGGs3M5Vof4dIN2VpR+0lRKDkt598iGRsXYkV53JPTegDAi9zJMel3taf\nWPC/3k6SlqdOZQvEX660Y7zFI/2B5eWlTLOVgVnhQf6QbrZACfCe9jEztveb\nCLZ2mI4iD9g9v/DnPZpJfrLouxoNw0HZMZGD59TE3W9EnvIkxYdOkVuCICzy\nYSf+eosrByoVD1XBDEgPEoLOHOYiI0C2/Y3+jpyc51CxyYR63SD8uIIrfPj+\nxHsaJ92dlsVjcCzyJLXHfcK3pjiKVmBg32dFaqozurw8UJut2bkLvKlfM4JS\n/d/DaJdpQZsAE4lVaHvZrQhnLvrJ3oX8ZTludEsNN7/XKbI4wjxTSDSiMqf1\nxWHhy5tk7+s2iBHNlhY5kf+tVd8edPaP2N+r6OE3nvebuL5MUMP3ZAu0hK3Z\nDBl/xDFsQE2xpu2aheWBudnVKrEh+Fctk1NQ+e/myHoiNcc8Ic8ctVtqz9IB\nBu1LhePEViIaeRPgJMNkfB+VryvHb9TuqmJ4Sl+t6wQlhw6PuqY9wRbvNWdc\nL2UVqz4XWZxXq2uyA3s/ti+M1XoLUM9S5be6hfqjOV/BLAcJwVjGAKSrKN1s\njj2gs/sU/Vtd8MThugQ9ZAifdIRkI2QF6K/ZjkD93sIEfBo974nbq+vpZung\nVEGz\r\n=uFYj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","type":"module","config":{"commitizen":{"path":"cz-conventional-changelog"}},"gitHead":"22975bb5385372d836b0b5acdb76cc3b1cc177f1","scripts":{"lint":"eslint","test":"jest --maxWorkers=50%","build":"tsc","commit":"git cz","format":"prettier --write","prepare":"husky install","release":"standard-version","test:ci":"jest --ci --passWithNoTests --runInBand","test:watch":"jest --maxWorkers=25% --onlyChanged --watch","type-check":"tsc --noEmit","test:coverage":"yarn test --coverage"},"typings":"dist/index.d.ts","_npmUser":{"name":"rockchalkwushock","email":"me@codybrunner.dev"},"prettier":{"semi":false,"tabWidth":2,"arrowParens":"avoid","singleQuote":true,"trailingComma":"es5"},"commitlint":{"extends":["@commitlint/config-conventional"]},"repository":{"url":"git+https://github.com/rockchalkwushock/rehype-code-titles.git","type":"git"},"_npmVersion":"6.14.12","description":"Rehype plugin for parsing code blocks and adding titles to code blocks","directories":{},"lint-staged":{"*.+(ts|tsx)":["eslint --fix","tsc --esModuleInterop --noEmit","jest --lastCommit --maxWorkers=25% --passWithNoTests"],"*.+(js|json|md|mdx|ts|tsx|yml|yaml)":["prettier --write"]},"_nodeVersion":"14.16.1","dependencies":{"unist-util-visit":"^3.0.0"},"eslintConfig":{"extends":"@rockchalkwushock/eslint-config","ignorePatterns":["package.json","tsconfig.json"]},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^6.0.0","dedent":"^0.7.0","eslint":"^7.24.0","rehype":"^11.0.0","ts-jest":"^26.5.5","prettier":"^2.2.1","commitizen":"^4.2.3","typescript":"^4.2.4","@types/jest":"^26.0.22","@types/node":"^14.14.41","lint-staged":"^10.5.4","@types/unist":"^2.0.3","@types/dedent":"^0.7.0","@commitlint/cli":"^12.1.1","standard-version":"^9.2.0","cz-conventional-changelog":"^3.3.0","@commitlint/config-conventional":"^12.1.1","@rockchalkwushock/eslint-config":"^1.0.3"},"standard-version":{"types":[{"type":"fix","section":"Bugs 🐛"},{"type":"feat","section":"Features 🎉"},{"type":"test","section":"Tests 🧪"}]},"_npmOperationalInternal":{"tmp":"tmp/rehype-code-titles_1.0.2_1619624913141_0.8976682612795794","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"rehype-code-titles","version":"1.0.3","keywords":["code-titles","html","mdx","rehype","rehype-plugin","remark","unified"],"author":{"url":"https://codybrunner.dev","name":"Cody Brunner","email":"me@codybrunner.dev"},"license":"MIT","_id":"rehype-code-titles@1.0.3","maintainers":[{"name":"rockchalkwushock","email":"me@codybrunner.dev"}],"homepage":"https://github.com/rockchalkwushock/rehype-code-titles#readme","bugs":{"url":"https://github.com/rockchalkwushock/rehype-code-titles/issues"},"dist":{"shasum":"63968dbc4407ea9e9689bd6e84e5c735ca535d6b","tarball":"https://registry.npmjs.org/rehype-code-titles/-/rehype-code-titles-1.0.3.tgz","fileCount":6,"integrity":"sha512-VBLHA1egC8smTGQ0X2oEPO6kuq+CKHkSBanjKHhW5AhOL9V7qsbiB4GSRGDUHI4gwCWSdM4A4R5aoRZ4UExw6A==","signatures":[{"sig":"MEUCIQChbo42CIf/X+T0wAA0hoARlMC06iS7RkDjMQpWXT8EgAIgCW/yKWjyAQNglEAktzEUEqf+PRMAJZt18RIWzNKowxI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12050,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgic8MCRA9TVsSAnZWagAAui8P/2bsotQaZDORYGVBynhD\nClDV+46f/XpkwaqABsR2idesLfBAfLMjZvlnYZzn2eEsueD3eUNJDcv0Ffyy\nRSe5zhtzOb5mhuMSCKb+sOmlHS0HIbet6i4q3HqajyvMPhnoG7FhEME63Da8\nUG+mQoGVsO4Uu6V1Mfywb+gstVWpmgMjW+7ZQG+4Ms4oKzO4r8THO+Jbj3Bu\nHDvuhknmSjXb/YdPVQ4Tx8B2Gw9bj9n0QdjjK8+agTwgP5z5ISNdWJduz6I2\n25FZ+uyNfMV1MHxn/59r2uzyvap2CnxtozoMgrn6W0jarSVzRwH15fiLm5V+\nQ/oHld9P3qMAWWN+j0iKRw7VElNYw0EThKxPr483+Su9hOjv5AXYBqV48pXW\nOcGMimimcWf13rA2gh7E1LM8v2o78gE8Bo17HuxwHRvmdRIEna0Vm4HceiQk\nb2dBXDEUYX5JGXybekws8xTsCORR7kr4qUySZzTaYNLy9+bAxAzdGuOiRDF+\n6cDd+F69KY4AZupgMghLHCgCuRNVK2Ks3VNHn3mJu7G1KZ9cKueUtsnf555h\n3LRk7QJSOsCc9QmLseRuTGxZALowo2PqHaS5KrlJEwrVdGNujI2weFS1d7nS\nLxTeAR5jagSA0kXt9SyFAqynmHDFWpJHmYoiYXUloFFB+ivSmULf+Cm/MzZp\ngP5V\r\n=erTG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","type":"module","config":{"commitizen":{"path":"cz-conventional-changelog"}},"gitHead":"4f49bb4c2a31ba24a792e860eec6453692a60731","scripts":{"lint":"eslint","test":"jest --maxWorkers=50%","build":"tsc","commit":"git cz","format":"prettier --write","prepare":"husky install","release":"standard-version","test:ci":"jest --ci --passWithNoTests --runInBand","test:watch":"jest --maxWorkers=25% --onlyChanged --watch","type-check":"tsc --noEmit","test:coverage":"yarn test --coverage"},"typings":"index.d.ts","_npmUser":{"name":"rockchalkwushock","email":"me@codybrunner.dev"},"prettier":{"semi":false,"tabWidth":2,"arrowParens":"avoid","singleQuote":true,"trailingComma":"es5"},"commitlint":{"extends":["@commitlint/config-conventional"]},"repository":{"url":"git+https://github.com/rockchalkwushock/rehype-code-titles.git","type":"git"},"_npmVersion":"6.14.12","description":"Rehype plugin for parsing code blocks and adding titles to code blocks","directories":{},"lint-staged":{"*.+(ts|tsx)":["eslint --fix","tsc --esModuleInterop --noEmit"],"*.+(js|json|md|mdx|ts|tsx|yml|yaml)":["prettier --write"]},"_nodeVersion":"14.16.1","dependencies":{"unist-util-visit":"^3.0.0"},"eslintConfig":{"extends":"@rockchalkwushock/eslint-config","ignorePatterns":["package.json","tsconfig.json"]},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^6.0.0","dedent":"^0.7.0","eslint":"^7.24.0","rehype":"^11.0.0","ts-jest":"^26.5.5","prettier":"^2.2.1","commitizen":"^4.2.3","typescript":"^4.2.4","@types/jest":"^26.0.22","@types/node":"^14.14.41","lint-staged":"^10.5.4","@types/unist":"^2.0.3","@types/dedent":"^0.7.0","@commitlint/cli":"^12.1.1","standard-version":"^9.2.0","cz-conventional-changelog":"^3.3.0","@commitlint/config-conventional":"^12.1.1","@rockchalkwushock/eslint-config":"^1.0.3"},"standard-version":{"types":[{"type":"fix","section":"Bugs 🐛"},{"type":"feat","section":"Features 🎉"},{"type":"test","section":"Tests 🧪"}]},"_npmOperationalInternal":{"tmp":"tmp/rehype-code-titles_1.0.3_1619644172091_0.7086071450854481","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"rehype-code-titles","version":"1.1.0","keywords":["code-titles","html","mdx","rehype","rehype-plugin","remark","unified"],"author":{"url":"https://codybrunner.com","name":"Cody Brunner","email":"me@codybrunner.com"},"license":"MIT","_id":"rehype-code-titles@1.1.0","maintainers":[{"name":"rockchalkwushock","email":"me@codybrunner.com"}],"homepage":"https://github.com/rockchalkwushock/rehype-code-titles#readme","bugs":{"url":"https://github.com/rockchalkwushock/rehype-code-titles/issues"},"dist":{"shasum":"de9c01a0008d7b0fc26da87b88ff6648ad8f74a3","tarball":"https://registry.npmjs.org/rehype-code-titles/-/rehype-code-titles-1.1.0.tgz","fileCount":5,"integrity":"sha512-muit6KQWNafowXA0HTUeQtUT+UuP0ra34xty1tuF8WsdjcSm++HswgRAFGXH8CAGe8axuGUxg13+I4yFHFnmfQ==","signatures":[{"sig":"MEQCIFT0ZtkheBEMVXglMA8pVDKrs7Bi1pFW2g4UoHbIJbOnAiAEZr3E4ccjGYzpUoOtDW9tvS4vRRkaOkWy35u33Gsxlw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9854,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijZD1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmribQ//XfN9vd+1n/NMYj6e7DU2aiSixyzDPYOCikwQRU7UsJn6pUU/\r\n/QorDuR89A27E3Qkaf27JkugsZu8yN7HmnhXmaIzsB1Xip3jRSKcWyJjnDf3\r\nnU7vgP4sk4AmnAviOgu7IXxQHLOIbZBKUBJ2ad/RvEGcZar8rabXd2haMaSn\r\nrzz1ICOs7yO7zjewNLKHiG2KzvgnI55BM7lvzEGMPQxDl6yDESrfikvXU7QL\r\nKYcrKQ1cqFF6QefKTQ5sPl+f1NiqaJU0VjDEL/GU8ymKz9OjF4piow75Xq9a\r\nOcjMfJCZGy7cCsY+iqmGzdr60OkTtRjAoSKXV4bC9x2ZiC1j0/EeOqpm31DX\r\nCVyTA+2QrYiYtD1apYQSrE9k2PjTu2NIW74xOCm3l0JYuXm5S+bd8tmKRMKT\r\nlyA50o1FQD6KZjol6aaUJgZl2PGOqniEYfBH//FyV1Dr7BCEc/M6rGUdI3PQ\r\n1odQy+yqOzg5x7FVWgGkDMZRnzPRxiD2m1S9z+BdBkTSLayCQh0I6SXM99pz\r\ncsDPIo/JGmHk4UoZKW9elMvAJEIJMoWaFLMsdSZqW1K5/R7UnlsO0cCgWHW9\r\nyEy6gzoyJdvOmCucTcz0Saz3fFYUM36xLUpyFMx0iXMWf6tEFmUzuSiHKG4A\r\nIC64XLiQZGzqvC/Fn8SIyFwIGkUKjKmuwyg=\r\n=GqVy\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","engines":{"node":">=16"},"exports":"./index.js","gitHead":"0f6b1ed0d755d411f71af39e834920476bc82bc5","scripts":{"lint":"eslint","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js --maxWorkers=50%","build":"tsc","format":"prettier --write","release":"standard-version","test:ci":"node --experimental-vm-modules node_modules/jest/bin/jest.js --ci --passWithNoTests --runInBand","test:watch":"node --experimental-vm-modules node_modules/jest/bin/jest.js --maxWorkers=25% --onlyChanged --watch","type-check":"tsc --noEmit","test:coverage":"node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage"},"typings":"./index.d.ts","_npmUser":{"name":"rockchalkwushock","email":"me@codybrunner.com"},"prettier":{"semi":false,"tabWidth":2,"arrowParens":"avoid","singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/rockchalkwushock/rehype-code-titles.git","type":"git"},"_npmVersion":"8.5.5","description":"Rehype plugin for parsing code blocks and adding titles to code blocks","directories":{},"_nodeVersion":"16.15.0","dependencies":{"unist-util-visit":"~4.1.0"},"eslintConfig":{"extends":"@rockchalkwushock/eslint-config","ignorePatterns":["package.json","tsconfig.json"]},"_hasShrinkwrap":false,"devDependencies":{"jest":"~28.1.0","dedent":"~0.7.0","eslint":"~8.16.0","rehype":"~12.0.1","prettier":"~2.6.2","typescript":"~4.7.2","@babel/core":"~7.18.0","@types/jest":"~27.5.1","@types/node":"~17.0.35","@types/unist":"~2.0.6","@types/dedent":"~0.7.0","standard-version":"~9.5.0","@arkweid/lefthook":"~0.7.7","@rockchalkwushock/eslint-config":"~1.0.7","@babel/plugin-transform-modules-commonjs":"~7.18.0"},"standard-version":{"types":[{"type":"fix","section":"Bugs 🐛"},{"type":"feat","section":"Features 🎉"},{"type":"test","section":"Tests 🧪"}]},"_npmOperationalInternal":{"tmp":"tmp/rehype-code-titles_1.1.0_1653444853544_0.35655445377975004","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"rehype-code-titles","version":"1.2.0","keywords":["code-titles","html","mdx","rehype","rehype-plugin","remark","unified"],"author":{"url":"https://codybrunner.com","name":"Cody Brunner","email":"me@codybrunner.com"},"license":"MIT","_id":"rehype-code-titles@1.2.0","maintainers":[{"name":"rockchalkwushock","email":"me@codybrunner.com"}],"homepage":"https://github.com/rockchalkwushock/rehype-code-titles#readme","bugs":{"url":"https://github.com/rockchalkwushock/rehype-code-titles/issues"},"dist":{"shasum":"e5113085a4796a78fb9b525868e34bb8eb045211","tarball":"https://registry.npmjs.org/rehype-code-titles/-/rehype-code-titles-1.2.0.tgz","fileCount":5,"integrity":"sha512-bSr2YJ0GHbHFarUNDZ3VpcGi9HqjLNrA9Lj3nuyox2aGGLhN53dFP2WJtPRnnRqU/vpbCatIgOYxEvWP1YYKrw==","signatures":[{"sig":"MEQCIA58JrOpc3aZAjQyUgBS7nj+wKbDQ//trkwWkV9Sb/GFAiAnqNMi2xR7nebsxhY9C8fi09CZJcJSe++eKgzQpIiD4g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11756,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7Cy3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr1Jw//V6pCRdJDgUH7nishVIvzRc83ZqPWAfRuJ4svEbr9X8dkTxi9\r\nqyGg6tAOsbWbPsIZMZI9Xx+YqcrifkvJA+cvHfuE/DcwuaacQTh/v7mBA1CH\r\nlE95ykFlSU3ZgBH96lrYTbSrjYIYWl9W26XK12oE7GgtJqZEW4rEUXa/w9dF\r\niiv2m0dMx6CkTPPoCbJKEmhkO7zjdiTNXwdlHP4DMUN2tQ1QKtthNUFbkFsy\r\nBipjYOHwXTVL8utra6hsPQRDThynKgND0YByy8wRk0tLdtRUc6NBIbUrfoaX\r\n3bql4L/kL7JCHU6KJWKJGTgOJ0ES3roQCkLcfeWNv3zxei3QQl5nW06UTsWM\r\n4ENXN9qNQ0aijZ1dZGYo4ZaeKsdYFaicbqe0bnmVWRcdLgjQQw1ezxrx46DU\r\nMXN9zkGRWfIlkWfb3fKmKAVRvtMNpbdW92w0oYae24S10bf7zJb3CPzvwN7c\r\n7ldVfAmsIiCeIp4b5VBxQCuDAemfK3KGUSRh3se7FwbVU/UjtomZUR+V7gfR\r\nIETk16/xUbXJTq60SCrD26FAv7DtDSjm2JfH4oT8UMVIe6snlxoJHhV+GqQ0\r\n/V0qa5ckNFwbz+rlII7JX4KCK60myVDtj2PdC2b4DHfiv9RgOTvF/OnBzMuC\r\nB8Md49vTEMIRMHNm9zfJ+x1MT3q7oyXIr0s=\r\n=ljqh\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","engines":{"node":">=16"},"exports":"./index.js","gitHead":"944d3f7b49340cd6a5c01dc00cd6d855702294d5","scripts":{"lint":"eslint","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js --maxWorkers=50%","build":"tsc","format":"prettier --write","release":"standard-version","test:ci":"node --experimental-vm-modules node_modules/jest/bin/jest.js --ci --passWithNoTests --runInBand","preinstall":"npx only-allow pnpm","test:watch":"node --experimental-vm-modules node_modules/jest/bin/jest.js --maxWorkers=25% --onlyChanged --watch","type-check":"tsc --noEmit","test:coverage":"node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage"},"typings":"./index.d.ts","_npmUser":{"name":"rockchalkwushock","email":"me@codybrunner.com"},"prettier":{"semi":false,"tabWidth":2,"arrowParens":"avoid","singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/rockchalkwushock/rehype-code-titles.git","type":"git"},"_npmVersion":"8.19.3","description":"Rehype plugin for parsing code blocks and adding titles to code blocks","directories":{},"_nodeVersion":"16.19.0","dependencies":{"hast":"~1.0.0","unist-util-visit":"~4.1.2"},"eslintConfig":{"extends":"@rockchalkwushock/eslint-config","ignorePatterns":["package.json","tsconfig.json"]},"_hasShrinkwrap":false,"devDependencies":{"jest":"~28.1.0","dedent":"~0.7.0","eslint":"~8.16.0","rehype":"~12.0.1","prettier":"~2.6.2","typescript":"~4.7.2","@babel/core":"~7.18.0","@types/hast":"~2.3.4","@types/jest":"~27.5.1","@types/node":"~17.0.35","@types/unist":"~2.0.6","@types/dedent":"~0.7.0","standard-version":"~9.5.0","@arkweid/lefthook":"~0.7.7","@rockchalkwushock/eslint-config":"~1.0.7","@babel/plugin-transform-modules-commonjs":"~7.18.0"},"standard-version":{"types":[{"type":"fix","section":"Bugs 🐛"},{"type":"feat","section":"Features 🎉"},{"type":"test","section":"Tests 🧪"}]},"_npmOperationalInternal":{"tmp":"tmp/rehype-code-titles_1.2.0_1676422327681_0.040581449749682585","host":"s3://npm-registry-packages"}},"1.2.1":{"name":"rehype-code-titles","version":"1.2.1","description":"Rehype plugin for parsing code blocks and adding titles to code blocks","author":{"name":"Cody Brunner","email":"me@codybrunner.com","url":"https://codybrunner.com"},"repository":{"type":"git","url":"git+https://github.com/rockchalkwushock/rehype-code-titles.git"},"bugs":{"url":"https://github.com/rockchalkwushock/rehype-code-titles/issues"},"homepage":"https://github.com/rockchalkwushock/rehype-code-titles#readme","license":"MIT","keywords":["code-titles","html","mdx","rehype","rehype-plugin","remark","unified"],"engines":{"node":">=16"},"publishConfig":{"access":"public"},"exports":"./index.js","type":"module","typings":"./index.d.ts","scripts":{"build":"tsc && cp src/index.js index.js","changeset":"changeset","format":"prettier --write .","lint":"eslint src/**/*.js","release":"changeset publish","test":"bun test","test:coverage":"bun test --coverage","test:watch":"bun test --watch","type-check":"tsc --noEmit","version":"changeset version"},"dependencies":{"unist-util-visit":"5.0.0"},"devDependencies":{"@changesets/cli":"2.29.7","@eslint/js":"9.39.1","@types/bun":"1.3.2","@types/hast":"3.0.4","@types/node":"24.10.1","@types/unist":"3.0.3","dedent":"1.7.0","eslint":"9.39.1","globals":"16.5.0","prettier":"3.6.2","rehype":"13.0.2","typescript":"5.9.3"},"gitHead":"183c230758a0de31b3698e6ea7afa6b1f10d331b","_id":"rehype-code-titles@1.2.1","_nodeVersion":"20.17.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-MhDkbRT4SKepZKDBGr9aSUBQyzK6N7NUzj05CzraxCxPSDkeP9ETb+X89JNYOntPC4VE7IvqSD5j1IKTJjAsEA==","shasum":"752c3b4b36cc9fa653a9a7bc2956740ba064bd4c","tarball":"https://registry.npmjs.org/rehype-code-titles/-/rehype-code-titles-1.2.1.tgz","fileCount":5,"unpackedSize":13924,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/rehype-code-titles@1.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCb9g7pYMz2dkab6Efc4CHBlNsoEemECNLeWqHATQrzkgIhAOFQGR4fJNX7qsIwJ2t0YEYcYqTJN0Enp9/OWGJvZSem"}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:24b56456-db9b-4fda-87b9-d7f1ec60e5e3"}},"directories":{},"maintainers":[{"name":"rockchalkwushock","email":"me@codybrunner.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/rehype-code-titles_1.2.1_1763086482690_0.8309041712466207"},"_hasShrinkwrap":false}},"time":{"created":"2021-04-23T01:13:25.085Z","modified":"2025-11-14T02:14:43.387Z","1.0.0":"2021-04-23T01:13:25.326Z","1.0.1":"2021-04-23T01:25:22.907Z","1.0.2":"2021-04-28T15:48:33.271Z","1.0.3":"2021-04-28T21:09:32.253Z","1.1.0":"2022-05-25T02:14:13.773Z","1.2.0":"2023-02-15T00:52:07.846Z","1.2.1":"2025-11-14T02:14:42.894Z"},"bugs":{"url":"https://github.com/rockchalkwushock/rehype-code-titles/issues"},"author":{"name":"Cody Brunner","email":"me@codybrunner.com","url":"https://codybrunner.com"},"license":"MIT","homepage":"https://github.com/rockchalkwushock/rehype-code-titles#readme","keywords":["code-titles","html","mdx","rehype","rehype-plugin","remark","unified"],"repository":{"type":"git","url":"git+https://github.com/rockchalkwushock/rehype-code-titles.git"},"description":"Rehype plugin for parsing code blocks and adding titles to code blocks","maintainers":[{"name":"rockchalkwushock","email":"me@codybrunner.com"}],"readme":"# rehype-code-titles\n\n[![npm](https://img.shields.io/npm/v/rehype-code-titles?style=flat-square)](https://www.npmjs.com/package/rehype-code-titles)\n\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\n\n[![All Contributors](https://img.shields.io/badge/all_contributors-1-orange.svg?style=flat-square)](#contributors-)\n\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\n\nRehype plugin for parsing code blocks and adding titles to code blocks\n\n## Why?\n\nI moved my blog over to using [`mdx-bundler`](https://github.com/kentcdodds/mdx-bundler) which uses [`xdm`](https://github.com/wooorm/xdm) under the hood to parse the markdown and MDX files. I was using [`remark-code-titles`](https://github.com/mottox2/remark-code-titles#readme) prior to this move and unfortunately it no longer worked. I believe this was because of the order plugins were being applied internally for `xdm`. I'd never really worked with `remark` or `rehype` directly before and didn't have a lot of experience with ASTs so this was a fun little project that I initially built directly into my blog before pulling it out at a plugin to ship to other developers.\n\nMany thanks to [@mottox2](https://github.com/mottox2), [@mapbox](https://github.com/mapbox), & [@wooorm](https://github.com/wooorm) for their prior work in this ecosystem it was of great help when creating this plugin.\n\n## Installation\n\n> This package is [ESM only](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c):\n> Node 16+ is needed to use it and it must be `import`ed instead of `require`d.\n\n```shell\nnpm install rehype-code-titles\n\nyarn add rehype-code-titles\n\npnpm add rehype-code-titles\n\nbun add rehype-code-titles\n```\n\n## Node.js Support\n\nThis plugin supports **Node.js 16+**, tested on Node 16, 18, 20, and 22.\n\n⚠️ **Note**: Node 16 reached End-of-Life in September 2023 and no longer receives security updates. We recommend upgrading to Node 18 or 20 (Active LTS) for security and performance improvements.\n\n- **Minimum**: Node.js 16+ (⚠️ EOL)\n- **Recommended**: Node.js 18+ or 20+ (Active LTS)\n- **Tested**: Node.js 16, 18, 20, 22\n\n## API\n\nThis package exports no identifiers. The default export is `rehypeCodeTitles`\n\n### `rehype().use(rehypeCodeTitles[, options])`\n\nAdd support for stripping out code titles from input.\n\n#### `options`\n\n##### `options.customClassName`\n\nSpecify your own custom css class name to apply. Defaults to `rehype-code-title`.\nNote: you will have to write the CSS implementation yourself.\n\nFor example\n\n```css\n// some global css file\n.rehype-code-title {\n  margin-bottom: -0.6rem;\n  padding: 0.5em 1em;\n  font-family:\n    Consolas, \"Andale Mono WT\", \"Andale Mono\", \"Lucida Console\",\n    \"Lucida Sans Typewriter\", \"DejaVu Sans Mono\", \"Bitstream Vera Sans Mono\",\n    \"Liberation Mono\", \"Nimbus Mono L\", Monaco, \"Courier New\", Courier,\n    monospace;\n\n  background-color: black;\n  color: white;\n  z-index: 0;\n\n  border-top-left-radius: 0.3em;\n  border-top-right-radius: 0.3em;\n}\n```\n\n##### `options.titleSeparator`\n\nSpecify the title separator for `rehype-code-title`. Defaults to: `:`.\n\n```tsx\n// default behavior will be\n\"language-typescript:lib/mdx.ts\"; // the title will be lib/mdx.ts\n\"language-typescript:title=lib/mdx.ts\"; // title will be title=lib/mdx.ts\n\n// titleSeparator set to :title=\n\"language-typescript:lib/mdx.ts\"; // Wont work! 😱. Does not match the separator\n\"language-typescript:title=lib/mdx.ts\"; // title will be lib/mdx.ts\n```\n\n### Input\n\n````md\n## Code Example\n\n```typescript:lib/mdx.ts\n// code here\n```\n````\n\n### Output\n\n```html\n<div class=\"rehype-code-title\">lib/mdx.ts</div>\n<pre>\n  <code class=\"language-typescript\">\n  <!-- HTML parse code here -->\n  </code>\n</pre>\n```\n\n## Usage\n\nUse this package [as a rehype plugin](https://github.com/rehypejs/rehype/blob/main/doc/plugins.md#using-plugins).\n\n```javascript\nconst rehype = require(\"rehype\");\nconst rehypeCodeTitles = require(\"rehype-code-titles\");\nconst rehypePrism = require(\"@mapbox/rehype-prism\");\n\nrehype()\n  .use(rehypeCodeTitles) // should always be before rehypePrism.\n  .use(rehypePrism)\n  .process(/* some html */);\n```\n\n```javascript\nconst unified = require(\"unified\");\nconst rehypeParse = require(\"rehype-parse\");\nconst rehypeCodeTitles = require(\"rehype-code-titles\");\nconst rehypePrism = require(\"@mapbox/rehype-prism\");\n\nunified()\n  .use(rehypeParse)\n  .use(rehypeCodeTitles)\n  .use(rehypePrism)\n  .processSync(/* some html */);\n```\n\n## Development\n\nThis repository uses [Bun](https://bun.sh) for package management and testing.\n\n```shell\ngit clone https://github.com/rockchalkwushock/rehype-code-titles.git\ncd rehype-code-titles\nbun install\n# Do cool stuff with code\nbun test        # Run tests\nbun run lint    # Run linter\nbun run build   # Build the package\ngit add .\ngit commit -m \"feat(src): a cool new feature\"\ngit push\n```\n\n## Contributing\n\nPlease visit [CONTRIBUTING.md](https://github.com/rockchalkwushock/rehype-code-titles/blob/master/CONTRIBUTING.md)\n\n## License\n\n[MIT](https://github.com/rockchalkwushock/rehype-code-titles/blob/master/LICENSE) © [Cody Brunner](https://codybrunner.com)\n\n## Contributors ✨\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://codybrunner.com\"><img src=\"https://avatars.githubusercontent.com/u/19720404?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Cody Brunner</b></sub></a><br /><a href=\"https://github.com/rockchalkwushock/rehype-code-titles/commits?author=rockchalkwushock\" title=\"Code\">💻</a> <a href=\"https://github.com/rockchalkwushock/rehype-code-titles/commits?author=rockchalkwushock\" title=\"Documentation\">📖</a> <a href=\"https://github.com/rockchalkwushock/rehype-code-titles/commits?author=rockchalkwushock\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://taranveerbains.ca\"><img src=\"https://avatars.githubusercontent.com/u/16584942?v=4\" width=\"100px;\" alt=\"\"/><br /><sub><b>Taran Bains</b></sub></a><br /> </td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n","readmeFilename":"README.md"}