{"_id":"rehype-highlight-code-lines","_rev":"27-ab23a25159fe0ac2da7a00672e5d2c1b","name":"rehype-highlight-code-lines","dist-tags":{"latest":"1.2.5"},"versions":{"0.0.1":{"name":"rehype-highlight-code-lines","version":"0.0.1","keywords":["unified","hast","rehype","markdown","plugin","rehype-plugin","rehype-highlight","line numbering","line highlighting"],"author":{"name":"ipikuka","email":"talatkuyuk@gmail.com"},"license":"MIT","_id":"rehype-highlight-code-lines@0.0.1","maintainers":[{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"}],"homepage":"https://github.com/ipikuka/rehype-highlight-code-lines#readme","bugs":{"url":"https://github.com/ipikuka/rehype-highlight-code-lines/issues"},"dist":{"shasum":"d8b4ad3476871c9cf0be4c65aa025ab29c04a726","tarball":"https://registry.npmjs.org/rehype-highlight-code-lines/-/rehype-highlight-code-lines-0.0.1.tgz","fileCount":7,"integrity":"sha512-1/mz+34VMxzM8lHS0Y4U7DjgAdNyrZevAxy/G5P6Jzck/UJhstZietie7FfOVNQaKILI9ck87wgfQm0d7Z/teA==","signatures":[{"sig":"MEUCIQC8dCgAhEkxFNqgNPPZs+SrHaCD3vC0l9jK/m6k0w0fKgIgdpdQrVAZ8lDuHM7Jur9uiAFBYvCZz7l4jCvWc9aSVno=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/rehype-highlight-code-lines@0.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":30868},"main":"./dist/esm/index.js","type":"module","types":"./dist/esm/index.d.ts","exports":"./dist/esm/index.js","gitHead":"2d13bd3e6146862ea7825144a5b085d3f98ef4e5","scripts":{"lint":"eslint .","test":"vitest --watch=false","build":"rimraf dist && tsc --build && type-coverage","format":"npm run prettier && npm run lint","prepack":"npm run build","prettier":"prettier --write .","test:file":"vitest test.spec.ts","test:watch":"vitest","test-coverage":"vitest run --coverage","prepublishOnly":"npm run test && npm run format && npm run test-coverage"},"_npmUser":{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"},"repository":{"url":"git+https://github.com/ipikuka/rehype-highlight-code-lines.git","type":"git"},"_npmVersion":"10.7.0","description":"Rehype plugin to add line numbers to code blocks and allow highlighting of desired code lines","directories":{},"sideEffects":false,"_nodeVersion":"20.14.0","dependencies":{"@types/hast":"^3.0.4","unist-util-visit":"^5.0.0","parse-numeric-range":"^1.3.0"},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreCatch":true,"ignoreAsAssertion":true},"_hasShrinkwrap":false,"devDependencies":{"vfile":"^6.0.1","dedent":"^1.5.3","eslint":"^8.57.0","rimraf":"^5.0.7","vitest":"^1.4.0","unified":"^11.0.4","prettier":"^3.3.2","remark-gfm":"^4.0.0","typescript":"^5.4.5","@types/node":"^20.14.2","remark-parse":"^11.0.0","@types/dedent":"^0.7.2","remark-rehype":"^11.1.0","type-coverage":"^2.29.0","rehype-highlight":"^7.0.0","rehype-stringify":"^10.0.0","@vitest/coverage-v8":"^1.6.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","@typescript-eslint/parser":"^7.13.0","@typescript-eslint/eslint-plugin":"^7.13.0"},"_npmOperationalInternal":{"tmp":"tmp/rehype-highlight-code-lines_0.0.1_1718486453874_0.7586487662295258","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"rehype-highlight-code-lines","version":"0.0.2","keywords":["unified","hast","rehype","markdown","plugin","rehype-plugin","rehype-highlight","line numbering","line highlighting"],"author":{"name":"ipikuka","email":"talatkuyuk@gmail.com"},"license":"MIT","_id":"rehype-highlight-code-lines@0.0.2","maintainers":[{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"}],"homepage":"https://github.com/ipikuka/rehype-highlight-code-lines#readme","bugs":{"url":"https://github.com/ipikuka/rehype-highlight-code-lines/issues"},"dist":{"shasum":"5cf0a6a09b5f1c460b33d29d6d8e0c4f5128948f","tarball":"https://registry.npmjs.org/rehype-highlight-code-lines/-/rehype-highlight-code-lines-0.0.2.tgz","fileCount":7,"integrity":"sha512-0Ws2z7grJwkhgOv7aKbWJqlPfF4LnU+MPTud0zlEH1+SuzDLx5usvnGysgyf2TyA8mchqCr5X9RsEiwkHT1BNA==","signatures":[{"sig":"MEYCIQChMJDg5LYL2EI77eNVNJTgqjOu68npIu6b7iYoq/6tqAIhAIWqbi3bpwTKVkV7WrVNQ682KWEJLV0ids4AZNVfmCrv","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/rehype-highlight-code-lines@0.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":34987},"main":"./dist/esm/index.js","type":"module","types":"./dist/esm/index.d.ts","exports":"./dist/esm/index.js","gitHead":"d4aef369d4f86b237778e6fd3fb8215cbacd2df5","scripts":{"lint":"eslint .","test":"vitest --watch=false","build":"rimraf dist && tsc --build && type-coverage","format":"npm run prettier && npm run lint","prepack":"npm run build","prettier":"prettier --write .","test:file":"vitest test.spec.ts","test:watch":"vitest","test-coverage":"vitest run --coverage","prepublishOnly":"npm run test && npm run format && npm run test-coverage"},"_npmUser":{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"},"repository":{"url":"git+https://github.com/ipikuka/rehype-highlight-code-lines.git","type":"git"},"_npmVersion":"10.7.0","description":"Rehype plugin to add line numbers to code blocks and allow highlighting of desired code lines","directories":{},"sideEffects":false,"_nodeVersion":"20.14.0","dependencies":{"@types/hast":"^3.0.4","unist-util-visit":"^5.0.0","parse-numeric-range":"^1.3.0"},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreCatch":true,"ignoreAsAssertion":true},"_hasShrinkwrap":false,"devDependencies":{"vfile":"^6.0.1","dedent":"^1.5.3","eslint":"^8.57.0","rimraf":"^5.0.7","vitest":"^1.4.0","unified":"^11.0.4","prettier":"^3.3.2","remark-gfm":"^4.0.0","typescript":"^5.4.5","@types/node":"^20.14.2","remark-parse":"^11.0.0","@types/dedent":"^0.7.2","remark-rehype":"^11.1.0","type-coverage":"^2.29.0","rehype-highlight":"^7.0.0","rehype-stringify":"^10.0.0","@vitest/coverage-v8":"^1.6.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","@typescript-eslint/parser":"^7.13.0","@typescript-eslint/eslint-plugin":"^7.13.0"},"_npmOperationalInternal":{"tmp":"tmp/rehype-highlight-code-lines_0.0.2_1718838179991_0.9784001068116532","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"rehype-highlight-code-lines","version":"0.0.3","keywords":["unified","hast","rehype","markdown","plugin","rehype-plugin","rehype-highlight","line numbering","line highlighting"],"author":{"name":"ipikuka","email":"talatkuyuk@gmail.com"},"license":"MIT","_id":"rehype-highlight-code-lines@0.0.3","maintainers":[{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"}],"homepage":"https://github.com/ipikuka/rehype-highlight-code-lines#readme","bugs":{"url":"https://github.com/ipikuka/rehype-highlight-code-lines/issues"},"dist":{"shasum":"d435d0142943636090ca5d1151666761e962bc51","tarball":"https://registry.npmjs.org/rehype-highlight-code-lines/-/rehype-highlight-code-lines-0.0.3.tgz","fileCount":7,"integrity":"sha512-FV1uKutfh5Ccudims4hJmCwQjnO8fjrzGi4axC0P6SER+SqhIeHu5KLpoInUa9cV7K2ao71FMIsp56DpPdgM6Q==","signatures":[{"sig":"MEUCIQC61pQKUELMc/MddWyxwpYj4/16eIlPwbObyBXe+rgZmwIgTPtBpyl+RhHXnMW2pB8OU9C8mZsblcghkoM8PVmum9I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/rehype-highlight-code-lines@0.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":35544},"main":"./dist/esm/index.js","type":"module","types":"./dist/esm/index.d.ts","exports":"./dist/esm/index.js","gitHead":"ca9f528fd856467f22338852e5429d413a2b3e4b","scripts":{"lint":"eslint .","test":"vitest --watch=false","build":"rimraf dist && tsc --build && type-coverage","format":"npm run prettier && npm run lint","prepack":"npm run build","prettier":"prettier --write .","test:file":"vitest test.spec.ts","test:watch":"vitest","test-coverage":"vitest run --coverage","prepublishOnly":"npm run test && npm run format && npm run test-coverage"},"_npmUser":{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"},"repository":{"url":"git+https://github.com/ipikuka/rehype-highlight-code-lines.git","type":"git"},"_npmVersion":"10.7.0","description":"Rehype plugin to add line numbers to code blocks and allow highlighting of desired code lines","directories":{},"sideEffects":false,"_nodeVersion":"20.14.0","dependencies":{"@types/hast":"^3.0.4","unist-util-visit":"^5.0.0","parse-numeric-range":"^1.3.0"},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreCatch":true,"ignoreAsAssertion":true},"_hasShrinkwrap":false,"devDependencies":{"vfile":"^6.0.1","dedent":"^1.5.3","eslint":"^8.57.0","rimraf":"^5.0.7","vitest":"^1.4.0","unified":"^11.0.4","prettier":"^3.3.2","remark-gfm":"^4.0.0","typescript":"^5.4.5","@types/node":"^20.14.2","remark-parse":"^11.0.0","@types/dedent":"^0.7.2","remark-rehype":"^11.1.0","type-coverage":"^2.29.0","rehype-highlight":"^7.0.0","rehype-stringify":"^10.0.0","@vitest/coverage-v8":"^1.6.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","@typescript-eslint/parser":"^7.13.0","@typescript-eslint/eslint-plugin":"^7.13.0"},"_npmOperationalInternal":{"tmp":"tmp/rehype-highlight-code-lines_0.0.3_1718842732547_0.16767998666587447","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"rehype-highlight-code-lines","version":"0.0.4","keywords":["unified","hast","rehype","markdown","plugin","rehype-plugin","rehype-highlight","line numbering","line highlighting"],"author":{"name":"ipikuka","email":"talatkuyuk@gmail.com"},"license":"MIT","_id":"rehype-highlight-code-lines@0.0.4","maintainers":[{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"}],"homepage":"https://github.com/ipikuka/rehype-highlight-code-lines#readme","bugs":{"url":"https://github.com/ipikuka/rehype-highlight-code-lines/issues"},"dist":{"shasum":"9237dfb0dcdc88a247fa485aa70f6b6bcb326e1d","tarball":"https://registry.npmjs.org/rehype-highlight-code-lines/-/rehype-highlight-code-lines-0.0.4.tgz","fileCount":7,"integrity":"sha512-QonlUF5rZVOO/OGXB0TShHCNECxreQXychMDb+9qKnIU6Uw97QHSnNWN3pswz3KF4qq20T6DYnxCgj53PafWpg==","signatures":[{"sig":"MEYCIQDyGJw0OU7PrpVOFqsd8IzkVnetJ/tmo1vSQTHXJE0znAIhAIZ2ln5h01qAzWSpIkfVmu78p5Eh2i4sxseuMSEbRF0k","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/rehype-highlight-code-lines@0.0.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":36144},"main":"./dist/esm/index.js","type":"module","types":"./dist/esm/index.d.ts","exports":"./dist/esm/index.js","gitHead":"2a25cdb2c4fd1cd5a2448878f08bcb97ab82f2c4","scripts":{"lint":"eslint .","test":"vitest --watch=false","build":"rimraf dist && tsc --build && type-coverage","format":"npm run prettier && npm run lint","prepack":"npm run build","prettier":"prettier --write .","test:file":"vitest test.spec.ts","test:watch":"vitest","test-coverage":"vitest run --coverage","prepublishOnly":"npm run test && npm run format && npm run test-coverage"},"_npmUser":{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"},"repository":{"url":"git+https://github.com/ipikuka/rehype-highlight-code-lines.git","type":"git"},"_npmVersion":"10.7.0","description":"Rehype plugin to add line numbers to code blocks and allow highlighting of desired code lines","directories":{},"sideEffects":false,"_nodeVersion":"20.14.0","dependencies":{"@types/hast":"^3.0.4","unist-util-visit":"^5.0.0","parse-numeric-range":"^1.3.0"},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreCatch":true,"ignoreAsAssertion":true},"_hasShrinkwrap":false,"devDependencies":{"vfile":"^6.0.1","dedent":"^1.5.3","eslint":"^8.57.0","rimraf":"^5.0.7","vitest":"^1.4.0","unified":"^11.0.4","prettier":"^3.3.2","remark-gfm":"^4.0.0","typescript":"^5.4.5","@types/node":"^20.14.2","remark-parse":"^11.0.0","@types/dedent":"^0.7.2","remark-rehype":"^11.1.0","type-coverage":"^2.29.0","rehype-highlight":"^7.0.0","rehype-stringify":"^10.0.0","@vitest/coverage-v8":"^1.6.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","@typescript-eslint/parser":"^7.13.0","@typescript-eslint/eslint-plugin":"^7.13.0"},"_npmOperationalInternal":{"tmp":"tmp/rehype-highlight-code-lines_0.0.4_1718869906517_0.9681873956583096","host":"s3://npm-registry-packages"}},"0.0.5":{"name":"rehype-highlight-code-lines","version":"0.0.5","keywords":["unified","hast","rehype","markdown","plugin","rehype-plugin","rehype-highlight","line numbering","line highlighting"],"author":{"name":"ipikuka","email":"talatkuyuk@gmail.com"},"license":"MIT","_id":"rehype-highlight-code-lines@0.0.5","homepage":"https://github.com/ipikuka/rehype-highlight-code-lines#readme","bugs":{"url":"https://github.com/ipikuka/rehype-highlight-code-lines/issues"},"dist":{"shasum":"ff721cb96e4e6fed60351ff86aa0ed87a339b439","tarball":"https://registry.npmjs.org/rehype-highlight-code-lines/-/rehype-highlight-code-lines-0.0.5.tgz","fileCount":7,"integrity":"sha512-vio+1uP+B4VJYmg5Oo8xbvfsbhMjRob5P109TXbNeOkubi6u0W1LMqJDv9djMELlMZMLjDw0IfjsAqzt+9c4uw==","signatures":[{"sig":"MEUCIDDJ3KW/Ee61VESQw9/AsPv2AjTDXSbRI1h6SmxY0F6pAiEA7/8PyAcfXgnHR4EaNg69TE/QyS+iOKDFzgPVPyEZqpg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/rehype-highlight-code-lines@0.0.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":41192},"main":"./dist/esm/index.js","type":"module","types":"./dist/esm/index.d.ts","exports":"./dist/esm/index.js","gitHead":"73d0635797e055b2ba2449e2f21b300a0ba0dc8f","scripts":{"lint":"eslint .","test":"vitest --watch=false","build":"rimraf dist && tsc --build && type-coverage","format":"npm run prettier && npm run lint","prepack":"npm run build","prettier":"prettier --write .","test:file":"vitest test.spec.ts","test:watch":"vitest","test-coverage":"vitest run --coverage","prepublishOnly":"npm run test && npm run format && npm run test-coverage"},"_npmUser":{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"},"repository":{"url":"git+https://github.com/ipikuka/rehype-highlight-code-lines.git","type":"git"},"_npmVersion":"10.7.0","description":"Rehype plugin to add line numbers to code blocks and allow highlighting of desired code lines","directories":{},"sideEffects":false,"_nodeVersion":"20.14.0","dependencies":{"@types/hast":"^3.0.4","unist-util-visit":"^5.0.0","parse-numeric-range":"^1.3.0"},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreCatch":true,"ignoreAsAssertion":true},"_hasShrinkwrap":false,"devDependencies":{"vfile":"^6.0.1","dedent":"^1.5.3","eslint":"^8.57.0","rimraf":"^5.0.7","vitest":"^1.4.0","unified":"^11.0.4","prettier":"^3.3.2","remark-gfm":"^4.0.0","typescript":"^5.4.5","@types/node":"^20.14.2","remark-parse":"^11.0.0","@types/dedent":"^0.7.2","remark-rehype":"^11.1.0","type-coverage":"^2.29.0","rehype-highlight":"^7.0.0","rehype-stringify":"^10.0.0","@vitest/coverage-v8":"^1.6.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","@typescript-eslint/parser":"^7.13.0","@typescript-eslint/eslint-plugin":"^7.13.0"},"_npmOperationalInternal":{"tmp":"tmp/rehype-highlight-code-lines_0.0.5_1718902157697_0.11553095376516787","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"rehype-highlight-code-lines","version":"1.0.0","keywords":["unified","hast","rehype","markdown","plugin","rehype-plugin","rehype-highlight","line numbering","line highlighting"],"author":{"name":"ipikuka","email":"talatkuyuk@gmail.com"},"license":"MIT","_id":"rehype-highlight-code-lines@1.0.0","homepage":"https://github.com/ipikuka/rehype-highlight-code-lines#readme","bugs":{"url":"https://github.com/ipikuka/rehype-highlight-code-lines/issues"},"dist":{"shasum":"6af6aa0347713307aa67f788d928b4aacbc6ff74","tarball":"https://registry.npmjs.org/rehype-highlight-code-lines/-/rehype-highlight-code-lines-1.0.0.tgz","fileCount":7,"integrity":"sha512-u8crtP2EJLfdmQDZcKnjHGIbSObWj3hVVxDNUXJ57c9EhSsQ7fpJ8TRKS/rCLPybyqoEhfPik3meDxED1QwHbQ==","signatures":[{"sig":"MEMCIAVwprjDrlMSVfagl8OJ5QeHIsS/q4HxPfrAt2OtNEzWAh9A6rpwD73u0Jh/TdQycF5+nqYSxFnJeI/1wcVvy8aT","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/rehype-highlight-code-lines@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":41197},"main":"./dist/esm/index.js","type":"module","types":"./dist/esm/index.d.ts","exports":"./dist/esm/index.js","gitHead":"125eea9d86fb589b0fc3da9c820ad15eb6cdbcb4","scripts":{"lint":"eslint .","test":"vitest --watch=false","build":"rimraf dist && tsc --build && type-coverage","format":"npm run prettier && npm run lint","prepack":"npm run build","prettier":"prettier --write .","test:file":"vitest test.spec.ts","test:watch":"vitest","test-coverage":"vitest run --coverage","prepublishOnly":"npm run test && npm run format && npm run test-coverage"},"_npmUser":{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"},"repository":{"url":"git+https://github.com/ipikuka/rehype-highlight-code-lines.git","type":"git"},"_npmVersion":"10.7.0","description":"Rehype plugin to add line numbers to code blocks and allow highlighting of desired code lines","directories":{},"sideEffects":false,"_nodeVersion":"20.14.0","dependencies":{"@types/hast":"^3.0.4","unist-util-visit":"^5.0.0","parse-numeric-range":"^1.3.0"},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreCatch":true,"ignoreAsAssertion":true},"_hasShrinkwrap":false,"devDependencies":{"vfile":"^6.0.1","dedent":"^1.5.3","eslint":"^8.57.0","rimraf":"^5.0.7","vitest":"^1.4.0","unified":"^11.0.5","prettier":"^3.3.2","remark-gfm":"^4.0.0","typescript":"^5.5.2","@types/node":"^20.14.6","remark-parse":"^11.0.0","@types/dedent":"^0.7.2","remark-rehype":"^11.1.0","type-coverage":"^2.29.0","rehype-highlight":"^7.0.0","rehype-stringify":"^10.0.0","@vitest/coverage-v8":"^1.6.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","@typescript-eslint/parser":"^7.13.1","@typescript-eslint/eslint-plugin":"^7.13.1"},"_npmOperationalInternal":{"tmp":"tmp/rehype-highlight-code-lines_1.0.0_1718906249003_0.0010631174492690132","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"rehype-highlight-code-lines","version":"1.0.1","keywords":["unified","hast","rehype","markdown","plugin","rehype-plugin","rehype-highlight","line numbering","line highlighting"],"author":{"name":"ipikuka","email":"talatkuyuk@gmail.com"},"license":"MIT","_id":"rehype-highlight-code-lines@1.0.1","homepage":"https://github.com/ipikuka/rehype-highlight-code-lines#readme","bugs":{"url":"https://github.com/ipikuka/rehype-highlight-code-lines/issues"},"dist":{"shasum":"44dc70d556ecb3661712bdbef19d002f70bc512f","tarball":"https://registry.npmjs.org/rehype-highlight-code-lines/-/rehype-highlight-code-lines-1.0.1.tgz","fileCount":7,"integrity":"sha512-58+JoXxtNoSdMx2XV7pLmFwJZbCBJSg/MbVu82kzf/X9aTAdUrspa1aqKMEDgBGJlE2duxr9/gNk/VvV7PHATg==","signatures":[{"sig":"MEUCIAgaxYRP4YNfezE8kpKX9F7aLo8S9T84PDE4x4+kaeoPAiEAiTkicjWucHRckQxzlCulqE7KhFdL8+PTeNIMlQm398c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/rehype-highlight-code-lines@1.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":42954},"main":"./dist/esm/index.js","type":"module","types":"./dist/esm/index.d.ts","exports":"./dist/esm/index.js","gitHead":"f1239eb002af0fca8694bd286aaed4974dec6011","scripts":{"lint":"eslint .","test":"vitest --watch=false","build":"rimraf dist && tsc --build && type-coverage","format":"npm run prettier && npm run lint","prepack":"npm run build","prettier":"prettier --write .","test:file":"vitest test.spec.ts","test:watch":"vitest","test-coverage":"vitest run --coverage","prepublishOnly":"npm run test && npm run format && npm run test-coverage"},"_npmUser":{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"},"repository":{"url":"git+https://github.com/ipikuka/rehype-highlight-code-lines.git","type":"git"},"_npmVersion":"10.7.0","description":"Rehype plugin to add line numbers to code blocks and allow highlighting of desired code lines","directories":{},"sideEffects":false,"_nodeVersion":"20.14.0","dependencies":{"@types/hast":"^3.0.4","unist-util-visit":"^5.0.0","parse-numeric-range":"^1.3.0"},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreCatch":true,"ignoreAsAssertion":true},"_hasShrinkwrap":false,"devDependencies":{"vfile":"^6.0.1","dedent":"^1.5.3","eslint":"^8.57.0","rimraf":"^5.0.7","vitest":"^1.4.0","unified":"^11.0.5","prettier":"^3.3.2","remark-gfm":"^4.0.0","typescript":"^5.5.2","@types/node":"^20.14.6","remark-parse":"^11.0.0","@types/dedent":"^0.7.2","remark-rehype":"^11.1.0","type-coverage":"^2.29.0","rehype-highlight":"^7.0.0","rehype-stringify":"^10.0.0","@vitest/coverage-v8":"^1.6.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","@typescript-eslint/parser":"^7.13.1","@typescript-eslint/eslint-plugin":"^7.13.1"},"_npmOperationalInternal":{"tmp":"tmp/rehype-highlight-code-lines_1.0.1_1718914248819_0.7194291819354868","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"rehype-highlight-code-lines","version":"1.0.2","keywords":["unified","hast","rehype","markdown","plugin","rehype-plugin","rehype-highlight","line numbering","line highlighting"],"author":{"name":"ipikuka","email":"talatkuyuk@gmail.com"},"license":"MIT","_id":"rehype-highlight-code-lines@1.0.2","homepage":"https://github.com/ipikuka/rehype-highlight-code-lines#readme","bugs":{"url":"https://github.com/ipikuka/rehype-highlight-code-lines/issues"},"dist":{"shasum":"1b56633115991ce10f204499eb7e0f7a8f8b5e9e","tarball":"https://registry.npmjs.org/rehype-highlight-code-lines/-/rehype-highlight-code-lines-1.0.2.tgz","fileCount":7,"integrity":"sha512-iygRduHYfr1u11xpyJh7Jps/0wk9jC1AGMR48/Q30ravyY1DPY8U1Sgwok8Zn9OQCxJKrHPhtNB6vt8wi4TYjA==","signatures":[{"sig":"MEQCIC4II0BySVC/aWop9e504b1hBaSpIvUYOgictZQZw6pNAiBDDq+0k03QY458CmYA3wchLgdt/UlB67VPiy+4BEKYVA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/rehype-highlight-code-lines@1.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":42960},"main":"./dist/esm/index.js","type":"module","types":"./dist/esm/index.d.ts","exports":"./dist/esm/index.js","gitHead":"86b2637062781760fd1eed92036ce3d57f9275c3","scripts":{"lint":"eslint .","test":"vitest --watch=false","build":"rimraf dist && tsc --build && type-coverage","format":"npm run prettier && npm run lint","prepack":"npm run build","prettier":"prettier --write .","test:file":"vitest test.spec.ts","test:watch":"vitest","test-coverage":"vitest run --coverage","prepublishOnly":"npm run test && npm run format && npm run test-coverage"},"_npmUser":{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"},"repository":{"url":"git+https://github.com/ipikuka/rehype-highlight-code-lines.git","type":"git"},"_npmVersion":"10.7.0","description":"Rehype plugin to add line numbers to code blocks and allow highlighting of desired code lines","directories":{},"sideEffects":false,"_nodeVersion":"20.14.0","dependencies":{"@types/hast":"^3.0.4","unist-util-visit":"^5.0.0","parse-numeric-range":"^1.3.0"},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreCatch":true,"ignoreAsAssertion":true},"_hasShrinkwrap":false,"devDependencies":{"vfile":"^6.0.1","dedent":"^1.5.3","eslint":"^8.57.0","rimraf":"^5.0.7","vitest":"^1.4.0","unified":"^11.0.5","prettier":"^3.3.2","remark-gfm":"^4.0.0","typescript":"^5.5.2","@types/node":"^20.14.6","remark-parse":"^11.0.0","@types/dedent":"^0.7.2","remark-rehype":"^11.1.0","type-coverage":"^2.29.0","rehype-highlight":"^7.0.0","rehype-stringify":"^10.0.0","@vitest/coverage-v8":"^1.6.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","@typescript-eslint/parser":"^7.13.1","@typescript-eslint/eslint-plugin":"^7.13.1"},"_npmOperationalInternal":{"tmp":"tmp/rehype-highlight-code-lines_1.0.2_1718914840021_0.15582488686293128","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"rehype-highlight-code-lines","version":"1.0.3","keywords":["unified","hast","rehype","markdown","plugin","rehype-plugin","rehype-highlight","line numbering","line highlighting"],"author":{"name":"ipikuka","email":"talatkuyuk@gmail.com"},"license":"MIT","_id":"rehype-highlight-code-lines@1.0.3","homepage":"https://github.com/ipikuka/rehype-highlight-code-lines#readme","bugs":{"url":"https://github.com/ipikuka/rehype-highlight-code-lines/issues"},"dist":{"shasum":"bb7f4da9ed6a5b3bfbf79b2f31342b64de3f2c33","tarball":"https://registry.npmjs.org/rehype-highlight-code-lines/-/rehype-highlight-code-lines-1.0.3.tgz","fileCount":7,"integrity":"sha512-N9fWKmprSPgr0QM059dNKFp3kN+tz/NxM/99Bm+BZ3qtCd5wcNv8G5ToJMWNV4lNkTW2++fApjzwWdA79Gj5/w==","signatures":[{"sig":"MEQCICMDv8mOCY/7gR1uMCDTHnpTHOA3h+bxFGheH0oOvZvrAiBaKqL54OWUz6WFFQYJh80hM6+BSVTB8Ko3QyViNvHVQQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/rehype-highlight-code-lines@1.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":42674},"main":"./dist/esm/index.js","type":"module","types":"./dist/esm/index.d.ts","exports":"./dist/esm/index.js","gitHead":"a5180eb389be5ca8ad8c4379fd24f643ad5306ee","scripts":{"lint":"eslint .","test":"vitest --watch=false","build":"rimraf dist && tsc --build && type-coverage","format":"npm run prettier && npm run lint","prepack":"npm run build","prettier":"prettier --write .","test:file":"vitest test.spec.ts","test:watch":"vitest","test-coverage":"vitest run --coverage","prepublishOnly":"npm run test && npm run format && npm run test-coverage"},"_npmUser":{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"},"repository":{"url":"git+https://github.com/ipikuka/rehype-highlight-code-lines.git","type":"git"},"_npmVersion":"10.7.0","description":"Rehype plugin to add line numbers to code blocks and allow highlighting of desired code lines","directories":{},"sideEffects":false,"_nodeVersion":"20.14.0","dependencies":{"@types/hast":"^3.0.4","unist-util-visit":"^5.0.0","parse-numeric-range":"^1.3.0"},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreCatch":true,"ignoreAsAssertion":true},"_hasShrinkwrap":false,"devDependencies":{"vfile":"^6.0.1","dedent":"^1.5.3","eslint":"^8.57.0","rimraf":"^5.0.7","vitest":"^1.4.0","unified":"^11.0.5","prettier":"^3.3.2","remark-gfm":"^4.0.0","typescript":"^5.5.2","@types/node":"^20.14.6","remark-parse":"^11.0.0","@types/dedent":"^0.7.2","remark-rehype":"^11.1.0","type-coverage":"^2.29.0","rehype-highlight":"^7.0.0","rehype-stringify":"^10.0.0","@vitest/coverage-v8":"^1.6.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","@typescript-eslint/parser":"^7.13.1","@typescript-eslint/eslint-plugin":"^7.13.1"},"_npmOperationalInternal":{"tmp":"tmp/rehype-highlight-code-lines_1.0.3_1718920100056_0.340906526254114","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"rehype-highlight-code-lines","version":"1.0.4","keywords":["unified","hast","rehype","markdown","plugin","rehype-plugin","rehype-highlight","line numbering","line highlighting"],"author":{"name":"ipikuka","email":"talatkuyuk@gmail.com"},"license":"MIT","_id":"rehype-highlight-code-lines@1.0.4","homepage":"https://github.com/ipikuka/rehype-highlight-code-lines#readme","bugs":{"url":"https://github.com/ipikuka/rehype-highlight-code-lines/issues"},"dist":{"shasum":"f6ca1a55c805f58950732750afd249607a57fef1","tarball":"https://registry.npmjs.org/rehype-highlight-code-lines/-/rehype-highlight-code-lines-1.0.4.tgz","fileCount":7,"integrity":"sha512-sDX8HZLfx+uFXGYP56XWR1pwt2tiQA6C/evATfLZPFD88EePKk+uzhwprLSxv/QHYWkAW6tLAgkTd23bd+BUaQ==","signatures":[{"sig":"MEUCIAw0UpNGPh7+wpKGCM87h5x/IgSGCCs5jXJBZgO+/coFAiEAm0H0aoC/l95XgqC4mNW0NYN+LG+heszrSdQWoJ27Xyc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/rehype-highlight-code-lines@1.0.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":43406},"main":"./dist/esm/index.js","type":"module","types":"./dist/esm/index.d.ts","exports":"./dist/esm/index.js","gitHead":"4b9cf0974913351a0cd5841478b8d228eab56a38","scripts":{"lint":"eslint .","test":"vitest --watch=false","build":"rimraf dist && tsc --build && type-coverage","format":"npm run prettier && npm run lint","prepack":"npm run build","prettier":"prettier --write .","test:file":"vitest test.spec.ts","test:watch":"vitest","test-coverage":"vitest run --coverage","prepublishOnly":"npm run test && npm run format && npm run test-coverage"},"_npmUser":{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"},"repository":{"url":"git+https://github.com/ipikuka/rehype-highlight-code-lines.git","type":"git"},"_npmVersion":"10.7.0","description":"Rehype plugin to add line numbers to code blocks and allow highlighting of desired code lines","directories":{},"sideEffects":false,"_nodeVersion":"20.14.0","dependencies":{"unified":"^11.0.5","@types/hast":"^3.0.4","unist-util-visit":"^5.0.0","parse-numeric-range":"^1.3.0"},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreCatch":true,"ignoreAsAssertion":true},"_hasShrinkwrap":false,"devDependencies":{"vfile":"^6.0.1","dedent":"^1.5.3","eslint":"^8.57.0","rimraf":"^5.0.7","vitest":"^1.4.0","prettier":"^3.3.2","remark-gfm":"^4.0.0","typescript":"^5.5","@types/node":"^20.14.8","remark-parse":"^11.0.0","@types/dedent":"^0.7.2","remark-rehype":"^11.1.0","type-coverage":"^2.29.0","rehype-highlight":"^7.0.0","rehype-stringify":"^10.0.0","@vitest/coverage-v8":"^1.6.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","@typescript-eslint/parser":"^7.13.1","@typescript-eslint/eslint-plugin":"^7.13.1"},"_npmOperationalInternal":{"tmp":"tmp/rehype-highlight-code-lines_1.0.4_1719168569226_0.483573294239946","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"rehype-highlight-code-lines","version":"1.0.5","keywords":["unified","rehype","hast","markdown","mdx","plugin","highlight","highlighting","rehype plugin","rehype highlight","code highlighting","syntax highlighting","line numbering","line highlighting"],"author":{"name":"ipikuka","email":"talatkuyuk@gmail.com"},"license":"MIT","_id":"rehype-highlight-code-lines@1.0.5","maintainers":[{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"}],"homepage":"https://github.com/ipikuka/rehype-highlight-code-lines#readme","bugs":{"url":"https://github.com/ipikuka/rehype-highlight-code-lines/issues"},"dist":{"shasum":"4986f3bdfcba731ccf0b9b56117cc5ac0604d778","tarball":"https://registry.npmjs.org/rehype-highlight-code-lines/-/rehype-highlight-code-lines-1.0.5.tgz","fileCount":8,"integrity":"sha512-KletMqkqhJ7BkRhuBnzLriJlaNqp3nXlPvpL6UwI9v1t20LY3spFIYWFW+bJ1D8gPnfDObJ6Ve4y4XVFZ8+jbA==","signatures":[{"sig":"MEUCIFwtpU+wOLWvwJR5KBCVWfl8WlokcfTQve8k34E4+LwgAiEA0v5Lm+WIp+ujcfA7732WOddwSvvH5q1ElCtfPI0A5nk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/rehype-highlight-code-lines@1.0.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":45066},"main":"./dist/esm/index.js","type":"module","types":"./dist/esm/index.d.ts","exports":"./dist/esm/index.js","gitHead":"9875ec6fcca51b62ceb03d4e5a217f9f424d833a","scripts":{"lint":"eslint .","test":"vitest --watch=false","build":"rimraf dist && tsc --build && type-coverage","format":"npm run prettier && npm run lint","prepack":"npm run build","prettier":"prettier --write .","test:file":"vitest test.html.spec.ts","test:watch":"vitest","test-coverage":"vitest run --coverage","prepublishOnly":"npm run test && npm run format && npm run test-coverage"},"_npmUser":{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"},"repository":{"url":"git+https://github.com/ipikuka/rehype-highlight-code-lines.git","type":"git"},"_npmVersion":"10.8.2","description":"Rehype plugin to add line numbers to code blocks and allow highlighting of desired code lines","directories":{},"sideEffects":false,"_nodeVersion":"20.18.2","dependencies":{"unified":"^11.0.5","@types/hast":"^3.0.4","unist-util-visit":"^5.0.0","parse-numeric-range":"^1.3.0"},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreAsAssertion":true},"_hasShrinkwrap":false,"devDependencies":{"vfile":"^6.0.3","dedent":"^1.5.3","eslint":"^9.19.0","rehype":"^13.0.2","rimraf":"^5.0.10","vitest":"^3.0.5","prettier":"^3.4.2","@eslint/js":"^9.19.0","remark-gfm":"^4.0.0","typescript":"^5.7.3","@types/node":"^22.13.1","rehype-parse":"^9.0.1","remark-parse":"^11.0.0","@types/dedent":"^0.7.2","remark-rehype":"^11.1.1","type-coverage":"^2.29.7","rehype-highlight":"^7.0.2","rehype-stringify":"^10.0.1","typescript-eslint":"^8.23.0","@vitest/coverage-v8":"^3.0.5","@vitest/eslint-plugin":"^1.1.25","eslint-config-prettier":"^10.0.1","eslint-plugin-prettier":"^5.2.3","unist-util-remove-position":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/rehype-highlight-code-lines_1.0.5_1738772866260_0.8336951762074609","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"rehype-highlight-code-lines","version":"1.0.7","keywords":["unified","rehype","hast","markdown","mdx","plugin","highlight","highlighting","rehype plugin","rehype highlight","code highlighting","syntax highlighting","line numbering","line highlighting"],"author":{"name":"ipikuka","email":"talatkuyuk@gmail.com"},"license":"MIT","_id":"rehype-highlight-code-lines@1.0.7","maintainers":[{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"}],"homepage":"https://github.com/ipikuka/rehype-highlight-code-lines#readme","bugs":{"url":"https://github.com/ipikuka/rehype-highlight-code-lines/issues"},"dist":{"shasum":"7cd54cec3fcf38c23f0239b840d2ab3f0e7dcf79","tarball":"https://registry.npmjs.org/rehype-highlight-code-lines/-/rehype-highlight-code-lines-1.0.7.tgz","fileCount":8,"integrity":"sha512-CK86SVXUYCyMj9hSNGsyx8bNDVlfjTKsq08lS0ZcqQ3G25dEnX/i6DoUDzUYcfMRzQOPZkpbe1HWXKKyVr0sRg==","signatures":[{"sig":"MEQCIGc/KZHTOHrS+mX4LMJ+O2xOy39agxorldL2nl6duEizAiA05HHqCxyeMaplN1qQX1cTPRg5326udHa+qxH3PMiMKA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/rehype-highlight-code-lines@1.0.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":53589},"main":"./dist/esm/index.js","type":"module","types":"./dist/esm/index.d.ts","exports":"./dist/esm/index.js","gitHead":"0c0c1dc06caac4299db483218fad222f11ad89d3","scripts":{"lint":"eslint .","test":"vitest --watch=false","build":"rimraf dist && tsc --build && type-coverage","format":"npm run prettier && npm run lint","prepack":"npm run build","prettier":"prettier --write .","test:file1":"vitest test.markdown.spec.ts","test:file2":"vitest test.cases.spec.ts","test:watch":"vitest","test-coverage":"vitest run --coverage","prepublishOnly":"npm run test && npm run format && npm run test-coverage"},"_npmUser":{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"},"repository":{"url":"git+https://github.com/ipikuka/rehype-highlight-code-lines.git","type":"git"},"_npmVersion":"10.8.2","description":"Rehype plugin to add line numbers to code blocks and allow highlighting of desired code lines","directories":{},"sideEffects":false,"_nodeVersion":"20.18.2","dependencies":{"unified":"^11.0.5","@types/hast":"^3.0.4","unist-util-visit":"^5.0.0","parse-numeric-range":"^1.3.0"},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreAsAssertion":true},"_hasShrinkwrap":false,"devDependencies":{"vfile":"^6.0.3","dedent":"^1.5.3","eslint":"^9.20.0","rehype":"^13.0.2","rimraf":"^5.0.10","vitest":"^3.0.5","prettier":"^3.5.0","@eslint/js":"^9.20.0","remark-gfm":"^4.0.0","typescript":"^5.7.3","@types/node":"^22.13.1","rehype-parse":"^9.0.1","remark-parse":"^11.0.0","@types/dedent":"^0.7.2","remark-rehype":"^11.1.1","type-coverage":"^2.29.7","rehype-highlight":"^7.0.2","rehype-stringify":"^10.0.1","typescript-eslint":"^8.23.0","@vitest/coverage-v8":"^3.0.5","@vitest/eslint-plugin":"^1.1.27","eslint-config-prettier":"^10.0.1","eslint-plugin-prettier":"^5.2.3","unist-util-remove-position":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/rehype-highlight-code-lines_1.0.7_1739107424527_0.08769150954942861","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"rehype-highlight-code-lines","version":"1.0.8","keywords":["unified","rehype","hast","markdown","mdx","plugin","highlight","highlighting","rehype plugin","rehype highlight","code highlighting","syntax highlighting","line numbering","line highlighting"],"author":{"name":"ipikuka","email":"talatkuyuk@gmail.com"},"license":"MIT","_id":"rehype-highlight-code-lines@1.0.8","maintainers":[{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"}],"homepage":"https://github.com/ipikuka/rehype-highlight-code-lines#readme","bugs":{"url":"https://github.com/ipikuka/rehype-highlight-code-lines/issues"},"dist":{"shasum":"1cb6f5494ca72b96ff6d9e3677e2b35174d2011e","tarball":"https://registry.npmjs.org/rehype-highlight-code-lines/-/rehype-highlight-code-lines-1.0.8.tgz","fileCount":8,"integrity":"sha512-NN0AAovxdTaua+ykNr/PW42DBQH69n9NKZ4MRmZjvUgw0smstAsBniL5OdsRljKfEgKALtNgc479bQ/BB6MDGQ==","signatures":[{"sig":"MEUCIQCZ9kul5Ne7Y1sLB1My/GkKcqMLYcgzTScS/duSoSCusgIgTLsflLo8p1iICGrlIJwE51IcIT29zChDI08lfjNL/U8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/rehype-highlight-code-lines@1.0.8","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":56432},"main":"./dist/esm/index.js","type":"module","types":"./dist/esm/index.d.ts","exports":"./dist/esm/index.js","gitHead":"8c2ddc94010949873f1ed2178263fba897f573d3","scripts":{"lint":"eslint .","test":"vitest --watch=false","build":"rimraf dist && tsc --build && type-coverage","format":"npm run prettier && npm run lint","prepack":"npm run build","prettier":"prettier --write .","test:file1":"vitest test.md.spec.ts","test:file2":"vitest test.html.spec.ts","test:file3":"vitest test.cases.spec.ts","test:file4":"vitest from-rehype-highlight/test.rhcl2.spec.ts","test:watch":"vitest","test-coverage":"vitest run --coverage","prepublishOnly":"npm run test && npm run format && npm run test-coverage"},"_npmUser":{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"},"repository":{"url":"git+https://github.com/ipikuka/rehype-highlight-code-lines.git","type":"git"},"_npmVersion":"10.8.2","description":"Rehype plugin to add line numbers to code blocks and allow highlighting of desired code lines","directories":{},"sideEffects":false,"_nodeVersion":"20.18.2","dependencies":{"@types/hast":"^3.0.4","unist-util-visit":"^5.0.0","parse-numeric-range":"^1.3.0"},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreAsAssertion":true},"_hasShrinkwrap":false,"devDependencies":{"vfile":"^6.0.3","dedent":"^1.5.3","eslint":"^9.20.0","rehype":"^13.0.2","rimraf":"^5.0.10","vitest":"^3.0.5","unified":"^11.0.5","prettier":"^3.5.0","@eslint/js":"^9.20.0","remark-gfm":"^4.0.0","typescript":"^5.7.3","@types/node":"^22.13.1","rehype-parse":"^9.0.1","remark-parse":"^11.0.0","@types/dedent":"^0.7.2","remark-rehype":"^11.1.1","type-coverage":"^2.29.7","rehype-highlight":"^7.0.2","rehype-stringify":"^10.0.1","typescript-eslint":"^8.23.0","@vitest/coverage-v8":"^3.0.5","@vitest/eslint-plugin":"^1.1.27","eslint-config-prettier":"^10.0.1","eslint-plugin-prettier":"^5.2.3","unist-util-remove-position":"^5.0.0"},"peerDependencies":{"unified":"^11"},"_npmOperationalInternal":{"tmp":"tmp/rehype-highlight-code-lines_1.0.8_1739195360630_0.537204668332175","host":"s3://npm-registry-packages-npm-production"}},"1.0.9":{"name":"rehype-highlight-code-lines","version":"1.0.9","keywords":["unified","rehype","hast","markdown","mdx","plugin","highlight","highlighting","rehype plugin","rehype highlight","code highlighting","syntax highlighting","line numbering","line highlighting"],"author":{"name":"ipikuka","email":"talatkuyuk@gmail.com"},"license":"MIT","_id":"rehype-highlight-code-lines@1.0.9","maintainers":[{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"}],"homepage":"https://github.com/ipikuka/rehype-highlight-code-lines#readme","bugs":{"url":"https://github.com/ipikuka/rehype-highlight-code-lines/issues"},"dist":{"shasum":"76ea4959589c4f706addfb86be9f6c9490eea25a","tarball":"https://registry.npmjs.org/rehype-highlight-code-lines/-/rehype-highlight-code-lines-1.0.9.tgz","fileCount":8,"integrity":"sha512-d/nyOc2t+p97OHo5/+Wlk5rYKhoeQkvowU7/GhEHV9S3N98Q4xrd09yPKRf1ygUnPZy0IYthbzm3MLk1Ss6cFQ==","signatures":[{"sig":"MEYCIQDuMNoJNp+kqXK3IbL8VLGnFVkHHSqmRyT5r4SIodgrxQIhAJVkY7CgkeXn4GAJ4Tc81k+q0A/7NeJ+tx+BsuP4l+PL","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/rehype-highlight-code-lines@1.0.9","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":56363},"main":"./dist/esm/index.js","type":"module","types":"./dist/esm/index.d.ts","exports":"./dist/esm/index.js","gitHead":"467d5885fe7b99bccb558afa19a1b5d07b6d79c3","scripts":{"lint":"eslint .","test":"vitest --watch=false","build":"rimraf dist && tsc --build && type-coverage","format":"npm run prettier && npm run lint","prepack":"npm run build","prettier":"prettier --write .","test:file1":"vitest test.md.spec.ts","test:file2":"vitest test.html.spec.ts","test:file3":"vitest test.cases.spec.ts","test:file4":"vitest from-rehype-highlight/test.rhcl2.spec.ts","test:watch":"vitest","test-coverage":"vitest run --coverage","prepublishOnly":"npm run test && npm run format && npm run test-coverage"},"_npmUser":{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"},"repository":{"url":"git+https://github.com/ipikuka/rehype-highlight-code-lines.git","type":"git"},"_npmVersion":"10.8.2","description":"Rehype plugin to add line numbers to code blocks and allow highlighting of desired code lines","directories":{},"sideEffects":false,"_nodeVersion":"20.18.2","dependencies":{"@types/hast":"^3.0.4","unist-util-visit":"^5.0.0","parse-numeric-range":"^1.3.0"},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreAsAssertion":true},"_hasShrinkwrap":false,"devDependencies":{"vfile":"^6.0.3","dedent":"^1.5.3","eslint":"^9.20.0","rehype":"^13.0.2","rimraf":"^5.0.10","vitest":"^3.0.5","unified":"^11.0.5","prettier":"^3.5.0","@eslint/js":"^9.20.0","remark-gfm":"^4.0.0","typescript":"^5.7.3","@types/node":"^22.13.1","rehype-parse":"^9.0.1","remark-parse":"^11.0.0","@types/dedent":"^0.7.2","remark-rehype":"^11.1.1","type-coverage":"^2.29.7","rehype-highlight":"^7.0.2","rehype-stringify":"^10.0.1","typescript-eslint":"^8.23.0","@vitest/coverage-v8":"^3.0.5","@vitest/eslint-plugin":"^1.1.27","eslint-config-prettier":"^10.0.1","eslint-plugin-prettier":"^5.2.3","unist-util-remove-position":"^5.0.0"},"peerDependencies":{"unified":"^11"},"_npmOperationalInternal":{"tmp":"tmp/rehype-highlight-code-lines_1.0.9_1739203111544_0.24307613012216644","host":"s3://npm-registry-packages-npm-production"}},"1.0.10":{"name":"rehype-highlight-code-lines","version":"1.0.10","keywords":["unified","rehype","hast","markdown","mdx","plugin","highlight","highlighting","rehype plugin","rehype highlight","code highlighting","syntax highlighting","line numbering","line highlighting"],"author":{"name":"ipikuka","email":"talatkuyuk@gmail.com"},"license":"MIT","_id":"rehype-highlight-code-lines@1.0.10","maintainers":[{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"}],"homepage":"https://github.com/ipikuka/rehype-highlight-code-lines#readme","bugs":{"url":"https://github.com/ipikuka/rehype-highlight-code-lines/issues"},"dist":{"shasum":"7e5682a20c56cba48340c25dc9bccd3fd857627c","tarball":"https://registry.npmjs.org/rehype-highlight-code-lines/-/rehype-highlight-code-lines-1.0.10.tgz","fileCount":8,"integrity":"sha512-qQEy6WeF6aJd0zgvJhVNhztNdtFOepz+VAoaz98uj3vtsbkyQxp/GFiYMXQx5/9q5fpDJQ/vNfdcGlDZkg5rBg==","signatures":[{"sig":"MEYCIQDMUP3mBPyopZoD141l13bbdfZTbYFJ6trMYie/ot90aAIhAM22Drql5HkhuQo2snef0UxXyPIBGy7l+Mot0TvGRunt","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/rehype-highlight-code-lines@1.0.10","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":55947},"main":"./dist/esm/index.js","type":"module","types":"./dist/esm/index.d.ts","exports":"./dist/esm/index.js","gitHead":"8e5e849f32d22d842070bddbe72e7dde311e3523","scripts":{"lint":"eslint .","test":"vitest --watch=false","build":"rimraf dist && tsc --build && type-coverage","format":"npm run prettier && npm run lint","prepack":"npm run build","prettier":"prettier --write .","test:file1":"vitest test.md.spec.ts","test:file2":"vitest test.html.spec.ts","test:file3":"vitest test.cases.spec.ts","test:file4":"vitest from-rehype-highlight/test.rhcl2.spec.ts","test:watch":"vitest","test-coverage":"vitest run --coverage","prepublishOnly":"npm run test && npm run format && npm run test-coverage"},"_npmUser":{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"},"repository":{"url":"git+https://github.com/ipikuka/rehype-highlight-code-lines.git","type":"git"},"_npmVersion":"10.8.2","description":"Rehype plugin to add line numbers to code blocks and allow highlighting of desired code lines","directories":{},"sideEffects":false,"_nodeVersion":"20.18.2","dependencies":{"@types/hast":"^3.0.4","unist-util-visit":"^5.0.0","parse-numeric-range":"^1.3.0"},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreAsAssertion":true},"_hasShrinkwrap":false,"devDependencies":{"vfile":"^6.0.3","dedent":"^1.5.3","eslint":"^9.20.0","rehype":"^13.0.2","rimraf":"^5.0.10","vitest":"^3.0.5","unified":"^11.0.5","prettier":"^3.5.0","@eslint/js":"^9.20.0","remark-gfm":"^4.0.0","typescript":"^5.7.3","@types/node":"^22.13.1","rehype-parse":"^9.0.1","remark-parse":"^11.0.0","@types/dedent":"^0.7.2","remark-rehype":"^11.1.1","type-coverage":"^2.29.7","rehype-highlight":"^7.0.2","rehype-stringify":"^10.0.1","typescript-eslint":"^8.23.0","@vitest/coverage-v8":"^3.0.5","@vitest/eslint-plugin":"^1.1.27","eslint-config-prettier":"^10.0.1","eslint-plugin-prettier":"^5.2.3","unist-util-remove-position":"^5.0.0"},"peerDependencies":{"unified":"^11"},"_npmOperationalInternal":{"tmp":"tmp/rehype-highlight-code-lines_1.0.10_1739338308877_0.8950612021026785","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"rehype-highlight-code-lines","version":"1.1.0","keywords":["unified","rehype","hast","markdown","mdx","plugin","highlight","highlighting","rehype plugin","rehype highlight","code highlighting","syntax highlighting","line numbering","line highlighting"],"author":{"name":"ipikuka","email":"talatkuyuk@gmail.com"},"license":"MIT","_id":"rehype-highlight-code-lines@1.1.0","maintainers":[{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"}],"homepage":"https://github.com/ipikuka/rehype-highlight-code-lines#readme","bugs":{"url":"https://github.com/ipikuka/rehype-highlight-code-lines/issues"},"dist":{"shasum":"37b9922eab05c1a828639c6261263e5e9fd272f9","tarball":"https://registry.npmjs.org/rehype-highlight-code-lines/-/rehype-highlight-code-lines-1.1.0.tgz","fileCount":8,"integrity":"sha512-Tlwum5yNke9ZyJjyFqRtFpm6C2pzM5Bl5QUt8foXXEReOrU7SR0xiukci+l8FIJVJdziIfkd4Pz7Xd/TPUWDvw==","signatures":[{"sig":"MEUCIHx2c9htkAp3q+l4Z8H5c3crcnOfquQMTfZV7WGVlwYuAiEA9/p4MJ4vyHLiHSk5mnvmL7dV2EjJUhzQHY3ltkOBJPA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/rehype-highlight-code-lines@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":65751},"main":"./dist/esm/index.js","type":"module","types":"./dist/esm/index.d.ts","exports":"./dist/esm/index.js","gitHead":"84bbd1395878cd7c8c769946fd229497e77eb60c","scripts":{"lint":"eslint .","test":"vitest --watch=false","build":"rimraf dist && tsc --build && type-coverage","format":"npm run prettier && npm run lint","prepack":"npm run build","prettier":"prettier --write .","test:file1":"vitest test.md.spec.ts","test:file2":"vitest test.html.spec.ts","test:file3":"vitest test.cases.spec.ts","test:file4":"vitest from-rehype-highlight/test.rhcl2.spec.ts","test:file5":"vitest test.raw.spec.ts","test:file6":"vitest test.debug.spec.ts","test:watch":"vitest","test-coverage":"vitest run --coverage","prepublishOnly":"npm run test && npm run format && npm run test-coverage"},"_npmUser":{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"},"repository":{"url":"git+https://github.com/ipikuka/rehype-highlight-code-lines.git","type":"git"},"_npmVersion":"10.8.2","description":"Rehype plugin to add line numbers to code blocks and allow highlighting of desired code lines","directories":{},"sideEffects":false,"_nodeVersion":"20.18.2","dependencies":{"@types/hast":"^3.0.4","unist-util-visit":"^5.0.0","parse-numeric-range":"^1.3.0"},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreAsAssertion":true},"_hasShrinkwrap":false,"devDependencies":{"vfile":"^6.0.3","dedent":"^1.5.3","eslint":"^9.20.1","rehype":"^13.0.2","rimraf":"^5.0.10","vitest":"^3.0.5","unified":"^11.0.5","prettier":"^3.5.0","@eslint/js":"^9.20.0","rehype-raw":"^7.0.0","remark-gfm":"^4.0.0","typescript":"^5.7.3","@types/node":"^22.13.2","rehype-parse":"^9.0.1","remark-parse":"^11.0.0","@types/dedent":"^0.7.2","remark-rehype":"^11.1.1","type-coverage":"^2.29.7","rehype-highlight":"^7.0.2","rehype-stringify":"^10.0.1","typescript-eslint":"^8.24.0","@vitest/coverage-v8":"^3.0.5","@vitest/eslint-plugin":"^1.1.31","eslint-config-prettier":"^10.0.1","eslint-plugin-prettier":"^5.2.3","unist-util-remove-position":"^5.0.0"},"peerDependencies":{"unified":"^11"},"_npmOperationalInternal":{"tmp":"tmp/rehype-highlight-code-lines_1.1.0_1739656182414_0.2751776183430812","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"rehype-highlight-code-lines","version":"1.1.1","keywords":["unified","rehype","hast","markdown","mdx","plugin","highlight","highlighting","rehype plugin","rehype highlight","code highlighting","syntax highlighting","line numbering","line highlighting"],"author":{"name":"ipikuka","email":"talatkuyuk@gmail.com"},"license":"MIT","_id":"rehype-highlight-code-lines@1.1.1","maintainers":[{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"}],"homepage":"https://github.com/ipikuka/rehype-highlight-code-lines#readme","bugs":{"url":"https://github.com/ipikuka/rehype-highlight-code-lines/issues"},"dist":{"shasum":"0c8b334797d229d480a5a02b88ab11e9503b9e72","tarball":"https://registry.npmjs.org/rehype-highlight-code-lines/-/rehype-highlight-code-lines-1.1.1.tgz","fileCount":8,"integrity":"sha512-YyOXzZBfAvV4XRKzcOnfNJCq1VTN+5dS+vwn6/GCnUbj6/8MrzMwo9rXrJFxqQLu4c++uJ6qZnGxieQLKsAZ8Q==","signatures":[{"sig":"MEQCIGgCn7g4txrBVY984jMZsHg0xkQfmkP6t0pq1PDFAwphAiB61N/S0MR6s0PlGnh133bx/HtBki3EcSfZ2D7Wqr9rDg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/rehype-highlight-code-lines@1.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":65612},"main":"./dist/esm/index.js","type":"module","types":"./dist/esm/index.d.ts","exports":"./dist/esm/index.js","gitHead":"9c8b9b66a9aa688722167ca6ad37d347881af304","scripts":{"lint":"eslint .","test":"vitest --watch=false","build":"rimraf dist && tsc --build && type-coverage","format":"npm run prettier && npm run lint","prepack":"npm run build","prettier":"prettier --write .","test:file1":"vitest test.md.spec.ts","test:file2":"vitest test.html.spec.ts","test:file3":"vitest test.cases.spec.ts","test:file4":"vitest from-rehype-highlight/test.rhcl2.spec.ts","test:file5":"vitest test.raw.spec.ts","test:file6":"vitest test.debug.spec.ts","test:watch":"vitest","test-coverage":"vitest run --coverage","prepublishOnly":"npm run test && npm run format && npm run test-coverage"},"_npmUser":{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"},"repository":{"url":"git+https://github.com/ipikuka/rehype-highlight-code-lines.git","type":"git"},"_npmVersion":"10.8.2","description":"Rehype plugin to add line numbers to code blocks and allow highlighting of desired code lines","directories":{},"sideEffects":false,"_nodeVersion":"20.18.2","dependencies":{"@types/hast":"^3.0.4","unist-util-visit":"^5.0.0","parse-numeric-range":"^1.3.0"},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreAsAssertion":true},"_hasShrinkwrap":false,"devDependencies":{"vfile":"^6.0.3","dedent":"^1.5.3","eslint":"^9.20.1","rehype":"^13.0.2","rimraf":"^5.0.10","vitest":"^3.0.5","unified":"^11.0.5","prettier":"^3.5.1","@eslint/js":"^9.20.0","rehype-raw":"^7.0.0","remark-gfm":"^4.0.0","typescript":"^5.7.3","@types/node":"^22.13.4","rehype-parse":"^9.0.1","remark-parse":"^11.0.0","@types/dedent":"^0.7.2","remark-rehype":"^11.1.1","type-coverage":"^2.29.7","rehype-highlight":"^7.0.2","rehype-stringify":"^10.0.1","typescript-eslint":"^8.24.0","@vitest/coverage-v8":"^3.0.5","@vitest/eslint-plugin":"^1.1.31","eslint-config-prettier":"^10.0.1","eslint-plugin-prettier":"^5.2.3","unist-util-remove-position":"^5.0.0"},"peerDependencies":{"unified":"^11"},"_npmOperationalInternal":{"tmp":"tmp/rehype-highlight-code-lines_1.1.1_1739689927228_0.939145963083478","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"rehype-highlight-code-lines","version":"1.1.2","keywords":["unified","rehype","hast","markdown","mdx","plugin","highlight","highlighting","rehype plugin","rehype highlight","code highlighting","syntax highlighting","line numbering","line highlighting"],"author":{"name":"ipikuka","email":"talatkuyuk@gmail.com"},"license":"MIT","_id":"rehype-highlight-code-lines@1.1.2","maintainers":[{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"}],"homepage":"https://github.com/ipikuka/rehype-highlight-code-lines#readme","bugs":{"url":"https://github.com/ipikuka/rehype-highlight-code-lines/issues"},"dist":{"shasum":"aaa7b7bdc954be7ef6a753705bef2a9a3b71652f","tarball":"https://registry.npmjs.org/rehype-highlight-code-lines/-/rehype-highlight-code-lines-1.1.2.tgz","fileCount":8,"integrity":"sha512-Kj1wntFFKSNT4laNp2pPe0zrrlH8iZa+k5gcIA04NBM2+bJHW5AZMqaZREPe/u1eKwaC/GAsAoeNubUR9WTBUg==","signatures":[{"sig":"MEYCIQDw6IbeGsBdNMh4/ayEjI+444Gofziu4cBM19OlYYWozgIhAKVieIr9Fnh8x0gFEkANJFxQH5+isIPZjZpjON4QXCGd","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/rehype-highlight-code-lines@1.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":65113},"main":"./dist/esm/index.js","type":"module","types":"./dist/esm/index.d.ts","exports":"./dist/esm/index.js","gitHead":"20b176e6c3a531934b8755c0eb722a3b5f010c42","scripts":{"lint":"eslint .","test":"vitest --watch=false","build":"rimraf dist && tsc --build && type-coverage","format":"npm run prettier && npm run lint","prepack":"npm run build","prettier":"prettier --write .","test:file1":"vitest test.md.spec.ts","test:file2":"vitest test.html.spec.ts","test:file3":"vitest test.cases.spec.ts","test:file4":"vitest from-rehype-highlight/test.rhcl2.spec.ts","test:file5":"vitest test.raw.spec.ts","test:file6":"vitest test.debug.spec.ts","test:watch":"vitest","test-coverage":"vitest run --coverage","prepublishOnly":"npm run test && npm run format && npm run test-coverage"},"_npmUser":{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"},"repository":{"url":"git+https://github.com/ipikuka/rehype-highlight-code-lines.git","type":"git"},"_npmVersion":"10.8.2","description":"Rehype plugin to add line numbers to code blocks and allow highlighting of desired code lines","directories":{},"sideEffects":false,"_nodeVersion":"20.18.2","dependencies":{"@types/hast":"^3.0.4","unist-util-visit":"^5.0.0","parse-numeric-range":"^1.3.0"},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreAsAssertion":true},"_hasShrinkwrap":false,"devDependencies":{"vfile":"^6.0.3","dedent":"^1.5.3","eslint":"^9.20.1","rehype":"^13.0.2","rimraf":"^5.0.10","vitest":"^3.0.5","unified":"^11.0.5","prettier":"^3.5.1","@eslint/js":"^9.20.0","rehype-raw":"^7.0.0","remark-gfm":"^4.0.0","typescript":"^5.7.3","@types/node":"^22.13.4","rehype-parse":"^9.0.1","remark-parse":"^11.0.0","@types/dedent":"^0.7.2","remark-rehype":"^11.1.1","type-coverage":"^2.29.7","rehype-highlight":"^7.0.2","rehype-stringify":"^10.0.1","typescript-eslint":"^8.24.1","@vitest/coverage-v8":"^3.0.5","@vitest/eslint-plugin":"^1.1.31","eslint-config-prettier":"^10.0.1","eslint-plugin-prettier":"^5.2.3","unist-util-remove-position":"^5.0.0"},"peerDependencies":{"unified":"^11"},"_npmOperationalInternal":{"tmp":"tmp/rehype-highlight-code-lines_1.1.2_1739826890722_0.41105806321363403","host":"s3://npm-registry-packages-npm-production"}},"1.1.3":{"name":"rehype-highlight-code-lines","version":"1.1.3","keywords":["unified","rehype","hast","markdown","mdx","plugin","highlight","highlighting","rehype plugin","rehype highlight","code highlighting","syntax highlighting","line numbering","line highlighting"],"author":{"name":"ipikuka","email":"talatkuyuk@gmail.com"},"license":"MIT","_id":"rehype-highlight-code-lines@1.1.3","maintainers":[{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"}],"homepage":"https://github.com/ipikuka/rehype-highlight-code-lines#readme","bugs":{"url":"https://github.com/ipikuka/rehype-highlight-code-lines/issues"},"dist":{"shasum":"ee34670cc6dd986574da7d1c2c5648e30dd20bca","tarball":"https://registry.npmjs.org/rehype-highlight-code-lines/-/rehype-highlight-code-lines-1.1.3.tgz","fileCount":8,"integrity":"sha512-Kq63wvBTkaQn5d5eqVJsqkpAW2fmqwbyGRervWtH32fTY6+cFqzVU5NTBZH/fe9PjjRUTyZfWinEDu7Ewvr+lw==","signatures":[{"sig":"MEUCIQDFfX05F5NC0AKsc9j3GH0xTYG16SVClst43hDr/TGXQwIgccPxmZP9IOg+bwKSwM/GQiQ5X2a0emmmCsoYsQ1XOO8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/rehype-highlight-code-lines@1.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":65585},"main":"./dist/esm/index.js","type":"module","types":"./dist/esm/index.d.ts","exports":"./dist/esm/index.js","gitHead":"ad1d83c937d80e40acf0cb44895aa08c46502057","scripts":{"lint":"eslint .","test":"vitest --watch=false","build":"rimraf dist && tsc --build && type-coverage","format":"npm run prettier && npm run lint","prepack":"npm run build","prettier":"prettier --write .","test:file1":"vitest test.md.spec.ts","test:file2":"vitest test.html.spec.ts","test:file3":"vitest test.cases.spec.ts","test:file4":"vitest from-rehype-highlight/test.rhcl2.spec.ts","test:file5":"vitest test.raw.spec.ts","test:file6":"vitest test.debug.spec.ts","test:watch":"vitest","test-coverage":"vitest run --coverage","prepublishOnly":"npm run test && npm run format && npm run test-coverage"},"_npmUser":{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"},"repository":{"url":"git+https://github.com/ipikuka/rehype-highlight-code-lines.git","type":"git"},"_npmVersion":"10.8.2","description":"Rehype plugin to add line numbers to code blocks and allow highlighting of desired code lines","directories":{},"sideEffects":false,"_nodeVersion":"20.18.2","dependencies":{"@types/hast":"^3.0.4","unist-util-visit":"^5.0.0","parse-numeric-range":"^1.3.0"},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreAsAssertion":true},"_hasShrinkwrap":false,"devDependencies":{"vfile":"^6.0.3","dedent":"^1.5.3","eslint":"^9.21.0","rehype":"^13.0.2","rimraf":"^5.0.10","vitest":"^3.0.5","unified":"^11.0.5","prettier":"^3.5.2","@eslint/js":"^9.20.0","rehype-raw":"^7.0.0","remark-gfm":"^4.0.1","typescript":"^5.7.3","@types/node":"^22.13.5","rehype-parse":"^9.0.1","remark-parse":"^11.0.0","@types/dedent":"^0.7.2","remark-rehype":"^11.1.1","type-coverage":"^2.29.7","rehype-highlight":"^7.0.2","rehype-stringify":"^10.0.1","typescript-eslint":"^8.25.0","@vitest/coverage-v8":"^3.0.7","@vitest/eslint-plugin":"^1.1.33","eslint-config-prettier":"^10.0.1","eslint-plugin-prettier":"^5.2.3","unist-util-remove-position":"^5.0.0"},"peerDependencies":{"unified":"^11"},"_npmOperationalInternal":{"tmp":"tmp/rehype-highlight-code-lines_1.1.3_1740516389904_0.2054756886177822","host":"s3://npm-registry-packages-npm-production"}},"1.1.4":{"name":"rehype-highlight-code-lines","version":"1.1.4","keywords":["unified","rehype","hast","markdown","mdx","plugin","highlight","highlighting","rehype plugin","rehype highlight","code highlighting","syntax highlighting","line numbering","line highlighting"],"author":{"name":"ipikuka","email":"talatkuyuk@gmail.com"},"license":"MIT","_id":"rehype-highlight-code-lines@1.1.4","maintainers":[{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"}],"homepage":"https://github.com/ipikuka/rehype-highlight-code-lines#readme","bugs":{"url":"https://github.com/ipikuka/rehype-highlight-code-lines/issues"},"dist":{"shasum":"aae1fff5f4f2cad0cbee534b45b86afd5b7d0240","tarball":"https://registry.npmjs.org/rehype-highlight-code-lines/-/rehype-highlight-code-lines-1.1.4.tgz","fileCount":8,"integrity":"sha512-Gp4+xQYfd1JT4pXw4HbwCuSNVQqmuIZ5GvGZ9VDRiXHGve+vV31ZNtcjJ3afHgBBYS/URKLh7WxIQKOr+/Nmpw==","signatures":[{"sig":"MEUCIH36wTU2h1gPfVIcuj1knrRZmGR+ATFPOy37g/yF2DMEAiEA+7pRs8RPofl+pTvoO22FkSYDaLCkOt25YhNLLtX8reI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/rehype-highlight-code-lines@1.1.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":66997},"main":"./dist/esm/index.js","type":"module","types":"./dist/esm/index.d.ts","exports":"./dist/esm/index.js","gitHead":"9197774f016049cdb1fab10e5b13934594c2b9f9","scripts":{"lint":"eslint .","test":"vitest --watch=false","build":"rimraf dist && tsc --build && type-coverage","format":"npm run prettier && npm run lint","prepack":"npm run build","prettier":"prettier --write .","test:file1":"vitest test.md.spec.ts","test:file2":"vitest test.html.spec.ts","test:file3":"vitest test.cases.spec.ts","test:file4":"vitest from-rehype-highlight/test.rhcl2.spec.ts","test:file5":"vitest test.raw.spec.ts","test:file6":"vitest test.debug.spec.ts","test:watch":"vitest","test-coverage":"vitest run --coverage","prepublishOnly":"npm run test && npm run format && npm run test-coverage"},"_npmUser":{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"},"repository":{"url":"git+https://github.com/ipikuka/rehype-highlight-code-lines.git","type":"git"},"_npmVersion":"10.8.2","description":"Rehype plugin to add line numbers to code blocks and allow highlighting of desired code lines","directories":{},"sideEffects":false,"_nodeVersion":"20.19.1","dependencies":{"@types/hast":"^3.0.4","unist-util-visit":"^5.0.0","parse-numeric-range":"^1.3.0"},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreAsAssertion":true},"_hasShrinkwrap":false,"devDependencies":{"vfile":"^6.0.3","dedent":"^1.6.0","eslint":"^9.26.0","rehype":"^13.0.2","rimraf":"^5.0.10","vitest":"^3.1.3","unified":"^11.0.5","prettier":"^3.5.3","@eslint/js":"^9.26.0","rehype-raw":"^7.0.0","remark-gfm":"^4.0.1","typescript":"^5.8.3","@types/node":"^22.15.14","rehype-parse":"^9.0.1","remark-parse":"^11.0.0","@types/dedent":"^0.7.2","remark-rehype":"^11.1.2","type-coverage":"^2.29.7","rehype-highlight":"^7.0.2","rehype-stringify":"^10.0.1","typescript-eslint":"^8.32.0","@vitest/coverage-v8":"^3.1.3","@vitest/eslint-plugin":"^1.1.44","eslint-config-prettier":"^10.1.2","eslint-plugin-prettier":"^5.4.0","unist-util-remove-position":"^5.0.0"},"peerDependencies":{"unified":"^11"},"_npmOperationalInternal":{"tmp":"tmp/rehype-highlight-code-lines_1.1.4_1746877297767_0.43964561175653794","host":"s3://npm-registry-packages-npm-production"}},"1.1.5":{"name":"rehype-highlight-code-lines","version":"1.1.5","keywords":["unified","rehype","hast","markdown","mdx","plugin","highlight","highlighting","rehype plugin","rehype highlight","code highlighting","syntax highlighting","line numbering","line highlighting"],"author":{"name":"ipikuka","email":"talatkuyuk@gmail.com"},"license":"MIT","_id":"rehype-highlight-code-lines@1.1.5","maintainers":[{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"}],"homepage":"https://github.com/ipikuka/rehype-highlight-code-lines#readme","bugs":{"url":"https://github.com/ipikuka/rehype-highlight-code-lines/issues"},"dist":{"shasum":"baeca70565f7cb5a8143f3fa6fc131064bacc878","tarball":"https://registry.npmjs.org/rehype-highlight-code-lines/-/rehype-highlight-code-lines-1.1.5.tgz","fileCount":8,"integrity":"sha512-U9IAjx7rVizYsHQ3dgnUQ/RSEPqnyHHwX7rannSukwLTW0VVZF7Tg/DxcomRPCVt0V25F1n8bi75Y0qQFjittA==","signatures":[{"sig":"MEQCIEVPd66aGQ3pWOZg7pA5qmss4OMCxr7x2OidHg8zVMhHAiAkRJo53M0wUI/RYFxnnnptmt8u8ZW4vjhWn38Lo9X3Tg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/rehype-highlight-code-lines@1.1.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":66996},"main":"./dist/esm/index.js","type":"module","types":"./dist/esm/index.d.ts","exports":"./dist/esm/index.js","gitHead":"65d363bc868d254c57fec08ad6bd4f1cee653b9c","scripts":{"lint":"eslint .","test":"vitest --watch=false","build":"rimraf dist && tsc --build && type-coverage","format":"npm run prettier && npm run lint","prepack":"npm run build","prettier":"prettier --write .","test:file1":"vitest test.md.spec.ts","test:file2":"vitest test.html.spec.ts","test:file3":"vitest test.cases.spec.ts","test:file4":"vitest from-rehype-highlight/test.rhcl2.spec.ts","test:file5":"vitest test.raw.spec.ts","test:file6":"vitest test.debug.spec.ts","test:watch":"vitest","test-coverage":"vitest run --coverage","prepublishOnly":"npm run test && npm run format && npm run test-coverage"},"_npmUser":{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"},"repository":{"url":"git+https://github.com/ipikuka/rehype-highlight-code-lines.git","type":"git"},"_npmVersion":"10.8.2","description":"Rehype plugin to add line numbers to code blocks and allow highlighting of desired code lines","directories":{},"sideEffects":false,"_nodeVersion":"20.19.1","dependencies":{"@types/hast":"^3.0.4","unist-util-visit":"^5.0.0","parse-numeric-range":"^1.3.0"},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreAsAssertion":true},"_hasShrinkwrap":false,"devDependencies":{"vfile":"^6.0.3","dedent":"^1.6.0","eslint":"^9.28.0","rehype":"^13.0.2","rimraf":"^5.0.10","vitest":"^3.2.2","unified":"^11.0.5","prettier":"^3.5.3","@eslint/js":"^9.28.0","rehype-raw":"^7.0.0","remark-gfm":"^4.0.1","typescript":"^5.8.3","@types/node":"^22.15.30","rehype-parse":"^9.0.1","remark-parse":"^11.0.0","@types/dedent":"^0.7.2","remark-rehype":"^11.1.2","type-coverage":"^2.29.7","rehype-highlight":"^7.0.2","rehype-stringify":"^10.0.1","typescript-eslint":"^8.33.1","@vitest/coverage-v8":"^3.2.2","@vitest/eslint-plugin":"^1.2.1","eslint-config-prettier":"^10.1.5","eslint-plugin-prettier":"^5.4.1","unist-util-remove-position":"^5.0.0"},"peerDependencies":{"unified":"^11"},"_npmOperationalInternal":{"tmp":"tmp/rehype-highlight-code-lines_1.1.5_1749389782711_0.5513183383070761","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"rehype-highlight-code-lines","version":"1.2.0","keywords":["unified","rehype","hast","markdown","mdx","plugin","highlight","highlighting","rehype plugin","rehype highlight","code highlighting","syntax highlighting","line numbering","line highlighting"],"author":{"name":"ipikuka","email":"talatkuyuk@gmail.com"},"license":"MIT","_id":"rehype-highlight-code-lines@1.2.0","maintainers":[{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"}],"homepage":"https://github.com/ipikuka/rehype-highlight-code-lines#readme","bugs":{"url":"https://github.com/ipikuka/rehype-highlight-code-lines/issues"},"dist":{"shasum":"531e0311e187b4e341ac8560f9c00cc55c2c630c","tarball":"https://registry.npmjs.org/rehype-highlight-code-lines/-/rehype-highlight-code-lines-1.2.0.tgz","fileCount":8,"integrity":"sha512-+T+mwHjmzRCWPOXpPa/0Y7WK52TgTu6zNE/TXaBKEGcCMbbyK5tmHYCpbrDB+F86FeGv+mQ7FZYNWJzD6FOqIA==","signatures":[{"sig":"MEYCIQCA5cHu4BB/2CzJezTGDhjTKMYq0Ix/ilZyetoTa2gWswIhAJ1ZLkguJRm34OlMwsjtTS51DxvOr8/zZIrNrlXapEQv","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/rehype-highlight-code-lines@1.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":66964},"main":"./dist/esm/index.js","type":"module","types":"./dist/esm/index.d.ts","exports":"./dist/esm/index.js","gitHead":"0e8a5d1cdcddad4d0e3b509e5e35c88bbda3b5b8","scripts":{"lint":"eslint .","test":"vitest --watch=false","build":"rimraf dist && tsc --build && type-coverage","format":"npm run prettier && npm run lint","prepack":"npm run build","prettier":"prettier --write .","test:file1":"vitest test.md.spec.ts","test:file2":"vitest test.html.spec.ts","test:file3":"vitest test.cases.spec.ts","test:file4":"vitest from-rehype-highlight/test.rhcl2.spec.ts","test:file5":"vitest test.raw.spec.ts","test:file6":"vitest test.debug.spec.ts","test:watch":"vitest","test-coverage":"vitest run --coverage","prepublishOnly":"npm run test && npm run format && npm run test-coverage"},"_npmUser":{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"},"repository":{"url":"git+https://github.com/ipikuka/rehype-highlight-code-lines.git","type":"git"},"_npmVersion":"10.8.2","description":"Rehype plugin to add line numbers to code blocks and allow highlighting of desired code lines","directories":{},"sideEffects":false,"_nodeVersion":"20.19.5","dependencies":{"@types/hast":"^3.0.4","unist-util-visit":"^5.0.0","parse-numeric-range":"^1.3.0"},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreAsAssertion":true},"_hasShrinkwrap":false,"devDependencies":{"vfile":"^6.0.3","dedent":"^1.7.0","eslint":"^9.35.0","rehype":"^13.0.2","rimraf":"^6.0.1","vitest":"^3.2.4","unified":"^11.0.5","prettier":"^3.6.2","@eslint/js":"^9.35.0","rehype-raw":"^7.0.0","remark-gfm":"^4.0.1","typescript":"^5.9.2","@types/node":"^24.3.1","rehype-parse":"^9.0.1","remark-parse":"^11.0.0","@types/dedent":"^0.7.2","remark-rehype":"^11.1.2","type-coverage":"^2.29.7","rehype-highlight":"^7.0.2","rehype-stringify":"^10.0.1","typescript-eslint":"^8.43.0","@vitest/coverage-v8":"^3.2.4","@vitest/eslint-plugin":"^1.3.9","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.4","unist-util-remove-position":"^5.0.0"},"peerDependencies":{"unified":"^11"},"_npmOperationalInternal":{"tmp":"tmp/rehype-highlight-code-lines_1.2.0_1757584005759_0.5238791850947346","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"rehype-highlight-code-lines","version":"1.2.1","keywords":["unified","rehype","hast","markdown","mdx","plugin","highlight","highlighting","rehype plugin","rehype highlight","code highlighting","syntax highlighting","line numbering","line highlighting"],"author":{"name":"ipikuka","email":"talatkuyuk@gmail.com"},"license":"MIT","_id":"rehype-highlight-code-lines@1.2.1","maintainers":[{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"}],"homepage":"https://github.com/ipikuka/rehype-highlight-code-lines#readme","bugs":{"url":"https://github.com/ipikuka/rehype-highlight-code-lines/issues"},"dist":{"shasum":"db5523f922b87f9fb0cf7b7fdff641e3e61ff669","tarball":"https://registry.npmjs.org/rehype-highlight-code-lines/-/rehype-highlight-code-lines-1.2.1.tgz","fileCount":8,"integrity":"sha512-Q2UvK4zrIV19angGCaEJi7h5uS5wegDXMk3H9ddaeG7YjvimhncDM2LgLrvEJ8QeKd94/lJEjf+06s36zUwUjw==","signatures":[{"sig":"MEQCIEwjBY7vD7t2voRyt6RPMAoGAlAXKdE013j9Xn7OiADjAiBzsUPdeC1GWuZ3zK4/qKoNFhCTz7JklSN10ic0qbJtZw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/rehype-highlight-code-lines@1.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":67507},"main":"./dist/esm/index.js","type":"module","types":"./dist/esm/index.d.ts","exports":"./dist/esm/index.js","gitHead":"60350cc593f867a61a1799e9175da71270f56c82","scripts":{"lint":"eslint .","test":"vitest --watch=false","build":"rimraf dist && tsc --build && type-coverage","format":"npm run prettier && npm run lint","prepack":"npm run build","prettier":"prettier --write .","test:file1":"vitest test.md.spec.ts","test:file2":"vitest test.html.spec.ts","test:file3":"vitest test.cases.spec.ts","test:file4":"vitest from-rehype-highlight/test.rhcl2.spec.ts","test:file5":"vitest test.raw.spec.ts","test:file6":"vitest test.debug.spec.ts","test:watch":"vitest","test-coverage":"vitest run --coverage","prepublishOnly":"npm run test && npm run format && npm run test-coverage"},"_npmUser":{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"},"repository":{"url":"git+https://github.com/ipikuka/rehype-highlight-code-lines.git","type":"git"},"_npmVersion":"10.8.2","description":"Rehype plugin to add line numbers to code blocks and allow highlighting of desired code lines","directories":{},"sideEffects":false,"_nodeVersion":"20.19.5","dependencies":{"@types/hast":"^3.0.4","unist-util-visit":"^5.0.0","parse-numeric-range":"^1.3.0"},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreAsAssertion":true},"_hasShrinkwrap":false,"devDependencies":{"vfile":"^6.0.3","dedent":"^1.7.0","eslint":"^9.39.1","rehype":"^13.0.2","rimraf":"^6.1.0","vitest":"^4.0.8","unified":"^11.0.5","prettier":"^3.6.2","@eslint/js":"^9.39.1","rehype-raw":"^7.0.0","remark-gfm":"^4.0.1","typescript":"^5.9.3","@types/node":"^24.10.0","rehype-parse":"^9.0.1","remark-parse":"^11.0.0","@types/dedent":"^0.7.2","remark-rehype":"^11.1.2","type-coverage":"^2.29.7","rehype-highlight":"^7.0.2","rehype-stringify":"^10.0.1","typescript-eslint":"^8.46.4","@vitest/coverage-v8":"^4.0.8","@vitest/eslint-plugin":"^1.4.2","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.4","unist-util-remove-position":"^5.0.0"},"peerDependencies":{"unified":"^11"},"_npmOperationalInternal":{"tmp":"tmp/rehype-highlight-code-lines_1.2.1_1762892086764_0.7304915445551721","host":"s3://npm-registry-packages-npm-production"}},"1.2.2":{"name":"rehype-highlight-code-lines","version":"1.2.2","keywords":["unified","rehype","hast","markdown","mdx","plugin","highlight","highlighting","rehype plugin","rehype highlight","code highlighting","syntax highlighting","line numbering","line highlighting"],"author":{"name":"ipikuka","email":"talatkuyuk@gmail.com"},"license":"MIT","_id":"rehype-highlight-code-lines@1.2.2","maintainers":[{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"}],"homepage":"https://github.com/ipikuka/rehype-highlight-code-lines#readme","bugs":{"url":"https://github.com/ipikuka/rehype-highlight-code-lines/issues"},"dist":{"shasum":"cfa284959bd88aa5e4159ce9fd69aa5ef538440e","tarball":"https://registry.npmjs.org/rehype-highlight-code-lines/-/rehype-highlight-code-lines-1.2.2.tgz","fileCount":8,"integrity":"sha512-YSaYmaVpuW1dwlzUYxI/FiEoG2gVBi1MyYh1aYW1RHm9ojQGRy6ODimdxz8QZRi9rUhMlVmz3ONCO/gbVs5Jfw==","signatures":[{"sig":"MEYCIQCdwzhGoak4vq5Rt4Z91TcrGHrb+gk1ixb7cC4Xu5he3wIhAMq3fFKQ44zxoA1HaswQ3i0yhljj3ATk4nCphLlTb9qc","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/rehype-highlight-code-lines@1.2.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":69706},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"5d394cf4003852a6570cd6366f6ce6e1ff75c75d","scripts":{"lint":"eslint .","test":"vitest run","build":"rimraf dist && tsc --build && type-coverage","format":"npm run prettier && npm run lint","prepack":"npm run build","prettier":"prettier --write .","test:file1":"vitest test.md.spec.ts","test:file2":"vitest test.html.spec.ts","test:file3":"vitest test.cases.spec.ts","test:file4":"vitest from-rehype-highlight/test.rhcl2.spec.ts","test:file5":"vitest test.raw.spec.ts","test:file6":"vitest test.debug.spec.ts","test:watch":"vitest","test-coverage":"vitest run --coverage","prepublishOnly":"npm run format && npm run test-coverage"},"_npmUser":{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"},"repository":{"url":"git+https://github.com/ipikuka/rehype-highlight-code-lines.git","type":"git"},"_npmVersion":"10.9.4","description":"Rehype plugin to add line numbers to code blocks and allow highlighting of desired code lines","directories":{},"sideEffects":false,"_nodeVersion":"22.22.0","dependencies":{"@types/hast":"^3.0.4","unist-util-visit":"^5.1.0","parse-numeric-range":"^1.3.0"},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreAsAssertion":true},"_hasShrinkwrap":false,"devDependencies":{"vfile":"^6.0.3","dedent":"^1.7.1","eslint":"^10.0.0","rehype":"^13.0.2","rimraf":"^6.1.3","vitest":"^4.0.18","globals":"^17.3.0","unified":"^11.0.5","prettier":"^3.8.1","@eslint/js":"^10.0.1","rehype-raw":"^7.0.0","remark-gfm":"^4.0.1","typescript":"^5.9.3","@types/node":"^24.10.13","rehype-parse":"^9.0.1","remark-parse":"^11.0.0","@types/dedent":"^0.7.2","remark-rehype":"^11.1.2","type-coverage":"^2.29.7","rehype-highlight":"^7.0.2","rehype-stringify":"^10.0.1","typescript-eslint":"^8.56.0","@vitest/coverage-v8":"^4.0.18","@vitest/eslint-plugin":"^1.6.9","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.5","unist-util-remove-position":"^5.0.0"},"peerDependencies":{"unified":"^11"},"_npmOperationalInternal":{"tmp":"tmp/rehype-highlight-code-lines_1.2.2_1771561776353_0.8629878335439978","host":"s3://npm-registry-packages-npm-production"}},"1.2.3":{"name":"rehype-highlight-code-lines","version":"1.2.3","keywords":["unified","rehype","hast","markdown","mdx","plugin","highlight","highlighting","rehype plugin","rehype highlight","code highlighting","syntax highlighting","line numbering","line highlighting"],"author":{"name":"ipikuka","email":"talatkuyuk@gmail.com"},"license":"MIT","_id":"rehype-highlight-code-lines@1.2.3","maintainers":[{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"}],"homepage":"https://github.com/ipikuka/rehype-highlight-code-lines#readme","bugs":{"url":"https://github.com/ipikuka/rehype-highlight-code-lines/issues"},"dist":{"shasum":"a29079b61f6332ec017c3bff136fc3362e9f9c88","tarball":"https://registry.npmjs.org/rehype-highlight-code-lines/-/rehype-highlight-code-lines-1.2.3.tgz","fileCount":8,"integrity":"sha512-Dn8kMR74WMYA6oD8dz0UAVuX+mLMQRdSP2f+oSMHGaxT6R1jjPo17QKAtrVjzSVShE5ytkIDJFqAkATsuEddFw==","signatures":[{"sig":"MEYCIQDd0IXUMR/MS3+RJRRP6HnZj9oIVVA2BdYaBDTmDlRdZAIhAMfeEPRo2U85ecnaVEZnbLUUBE7UUseFPwGFTIrtlIxQ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/rehype-highlight-code-lines@1.2.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":70252},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"2c1748849258bb0c949d05cfb288415f80524b61","scripts":{"lint":"eslint .","test":"vitest run","build":"rimraf dist && tsc --build && type-coverage","format":"npm run prettier && npm run lint","prepack":"npm run build","test:md":"vitest test.md.spec.ts","prettier":"prettier --write .","test:raw":"vitest test.raw.spec.ts","test:html":"vitest test.html.spec.ts","test:cases":"vitest test.cases.spec.ts","test:debug":"vitest test.debug.spec.ts","test:watch":"vitest","test-coverage":"vitest run --coverage","prepublishOnly":"npm run format && npm run test-coverage","test:highlight":"vitest from-rehype-highlight/test.rhcl2.spec.ts"},"_npmUser":{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"},"repository":{"url":"git+https://github.com/ipikuka/rehype-highlight-code-lines.git","type":"git"},"_npmVersion":"10.9.7","description":"Rehype plugin to add line numbers to code blocks and allow highlighting of desired code lines","directories":{},"sideEffects":false,"_nodeVersion":"22.22.2","dependencies":{"@types/hast":"^3.0.4","unist-util-visit":"^5.1.0","parse-numeric-range":"^1.3.0"},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreAsAssertion":true},"_hasShrinkwrap":false,"devDependencies":{"vfile":"^6.0.3","dedent":"^1.7.1","eslint":"^10.0.0","rehype":"^13.0.2","rimraf":"^6.1.3","vitest":"^4.0.18","globals":"^17.3.0","unified":"^11.0.5","prettier":"^3.8.1","@eslint/js":"^10.0.1","rehype-raw":"^7.0.0","remark-gfm":"^4.0.1","typescript":"^5.9.3","@types/node":"^24.10.13","rehype-parse":"^9.0.1","remark-parse":"^11.0.0","@types/dedent":"^0.7.2","remark-rehype":"^11.1.2","type-coverage":"^2.29.7","rehype-highlight":"^7.0.2","rehype-stringify":"^10.0.1","unified-log-tree":"^1.1.5","typescript-eslint":"^8.56.0","@vitest/coverage-v8":"^4.0.18","@vitest/eslint-plugin":"^1.6.9","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.5","unist-util-remove-position":"^5.0.0"},"peerDependencies":{"unified":"^11"},"_npmOperationalInternal":{"tmp":"tmp/rehype-highlight-code-lines_1.2.3_1776506351576_0.04507491234194694","host":"s3://npm-registry-packages-npm-production"}},"1.2.4":{"name":"rehype-highlight-code-lines","version":"1.2.4","keywords":["unified","rehype","hast","markdown","mdx","plugin","highlight","highlighting","rehype plugin","rehype highlight","code highlighting","syntax highlighting","line numbering","line highlighting"],"author":{"name":"ipikuka","email":"talatkuyuk@gmail.com"},"license":"MIT","_id":"rehype-highlight-code-lines@1.2.4","maintainers":[{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"}],"homepage":"https://github.com/ipikuka/rehype-highlight-code-lines#readme","bugs":{"url":"https://github.com/ipikuka/rehype-highlight-code-lines/issues"},"dist":{"shasum":"f0ffd02eac9205bdbe44f17bd56fe1330db955f1","tarball":"https://registry.npmjs.org/rehype-highlight-code-lines/-/rehype-highlight-code-lines-1.2.4.tgz","fileCount":7,"integrity":"sha512-uaPtrwyl2vCKqvJ6JW+1gjWukxuz2ETrt6hpsDuRuk9FXreMSEevG0UJBiL5FsBMdV3FwTAa+FAwDQfkiRbQQA==","signatures":[{"sig":"MEUCIDzt7bg0diCYar4G129g/mg2XFCkiJYis/Cry706pdXNAiEA+veOD+NSiKFYw9JsM4AV6t6Iohu3IrRSW+CwVqvqCks=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/rehype-highlight-code-lines@1.2.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":70652},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"c05c0bbc0d034a9a10614eb746684a0d442115e8","scripts":{"lint":"eslint .","test":"vitest run","build":"rimraf dist && tsc --build tsconfig.build.json && type-coverage","format":"npm run prettier && npm run lint","prepack":"npm run build","test:md":"vitest test.md.spec.ts","prettier":"prettier --write .","test:raw":"vitest test.raw.spec.ts","test:html":"vitest test.html.spec.ts","test:cases":"vitest test.cases.spec.ts","test:debug":"vitest test.debug.spec.ts","test:watch":"vitest","test-coverage":"vitest run --coverage","prepublishOnly":"npm run format && npm run test-coverage","test:highlight":"vitest from-rehype-highlight/test.rhcl2.spec.ts"},"_npmUser":{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"},"repository":{"url":"git+https://github.com/ipikuka/rehype-highlight-code-lines.git","type":"git"},"_npmVersion":"10.9.8","description":"Rehype plugin to add line numbers to code blocks and allow highlighting of desired code lines","directories":{},"sideEffects":false,"_nodeVersion":"22.22.3","dependencies":{"@types/hast":"^3.0.4","unist-util-visit":"^5.1.0","parse-numeric-range":"^1.3.0"},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreAsAssertion":true},"_hasShrinkwrap":false,"devDependencies":{"vfile":"^6.0.3","dedent":"^1.7.2","eslint":"^10.4.0","rehype":"^13.0.2","rimraf":"^6.1.3","vitest":"^4.1.7","globals":"^17.6.0","unified":"^11.0.5","prettier":"^3.8.3","@eslint/js":"^10.0.1","rehype-raw":"^7.0.0","remark-gfm":"^4.0.1","typescript":"^5.9.3","@types/node":"^24.12.4","rehype-parse":"^9.0.1","remark-parse":"^11.0.0","@types/dedent":"^0.7.2","remark-rehype":"^11.1.2","type-coverage":"^2.29.7","rehype-highlight":"^7.0.2","rehype-stringify":"^10.0.1","unified-log-tree":"^1.1.6","typescript-eslint":"^8.60.0","@vitest/coverage-v8":"^4.1.7","@vitest/eslint-plugin":"^1.6.18","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.5","unist-util-remove-position":"^5.0.0"},"peerDependencies":{"unified":"^11"},"_npmOperationalInternal":{"tmp":"tmp/rehype-highlight-code-lines_1.2.4_1779896131398_0.5544529193881946","host":"s3://npm-registry-packages-npm-production"}},"1.2.5":{"name":"rehype-highlight-code-lines","version":"1.2.5","description":"Rehype plugin to add line numbers to code blocks and allow highlighting of desired code lines","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"build":"rimraf dist && tsc --build tsconfig.build.json && type-coverage","format":"npm run prettier && npm run lint","prettier":"prettier --write .","lint":"eslint .","test":"vitest run","test:watch":"vitest","test:md":"vitest test.md.spec.ts","test:html":"vitest test.html.spec.ts","test:cases":"vitest test.cases.spec.ts","test:highlight":"vitest from-rehype-highlight/test.rhcl2.spec.ts","test:raw":"vitest test.raw.spec.ts","test:debug":"vitest test.debug.spec.ts","test-coverage":"vitest run --coverage","prepack":"npm run build","prepublishOnly":"npm run format && npm run test-coverage"},"repository":{"type":"git","url":"git+https://github.com/ipikuka/rehype-highlight-code-lines.git"},"keywords":["unified","rehype","hast","markdown","mdx","plugin","highlight","highlighting","rehype plugin","rehype highlight","code highlighting","syntax highlighting","line numbering","line highlighting"],"author":{"name":"ipikuka","email":"talatkuyuk@gmail.com"},"license":"MIT","homepage":"https://github.com/ipikuka/rehype-highlight-code-lines#readme","bugs":{"url":"https://github.com/ipikuka/rehype-highlight-code-lines/issues"},"devDependencies":{"@eslint/js":"^10.0.1","@types/dedent":"^0.7.2","@types/node":"^26.2.0","@vitest/coverage-v8":"^4.1.11","@vitest/eslint-plugin":"^1.6.27","dedent":"^1.7.2","eslint":"^10.8.1","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.6","globals":"^17.11.0","prettier":"^3.9.6","rehype":"^13.0.2","rehype-highlight":"^7.0.2","rehype-parse":"^9.0.1","rehype-raw":"^7.0.0","rehype-stringify":"^10.0.1","remark-gfm":"^4.0.1","remark-parse":"^11.0.0","remark-rehype":"^11.1.2","rimraf":"^6.1.3","type-coverage":"^2.30.1","typescript":"^5.9.3","typescript-eslint":"^8.67.0","unified":"^11.0.5","unified-log-tree":"^1.1.7","unist-util-remove-position":"^5.0.0","vfile":"^6.0.3","vitest":"^4.1.11"},"dependencies":{"@types/hast":"^3.0.5","parse-numeric-range":"^1.3.0","unist-util-visit":"^5.1.0"},"peerDependencies":{"unified":"^11"},"typeCoverage":{"atLeast":100,"detail":true,"ignoreAsAssertion":true,"strict":true},"sideEffects":false,"_id":"rehype-highlight-code-lines@1.2.5","gitHead":"39972f0f3e3a33fc352be635d8e3631af7478bf6","_nodeVersion":"22.23.2","_npmVersion":"10.9.8","dist":{"integrity":"sha512-Wjac+gxptQ3XocUQEXPqI4Qt5ssr0JEDIIAy7ua+XO7yBemxZS0fbPH/80qbB6CNHfw1FrCydgo0rYW+NtU9Gw==","shasum":"6493fd01cd0e48d80cddae63853832cf17c538bb","tarball":"https://registry.npmjs.org/rehype-highlight-code-lines/-/rehype-highlight-code-lines-1.2.5.tgz","fileCount":7,"unpackedSize":70923,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/rehype-highlight-code-lines@1.2.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDkhOkeTkN+XDotMdah6sauhkUcvJrD9iySEXpsemL0/wIhAKM9bmPFnObm9BsIQojXw9CVHnHcChtWTPDGiwKhH++J"}]},"_npmUser":{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"},"directories":{},"maintainers":[{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/rehype-highlight-code-lines_1.2.5_1787086553942_0.849598681860728"},"_hasShrinkwrap":false}},"time":{"created":"2024-06-15T21:20:53.790Z","modified":"2026-08-18T20:55:54.423Z","0.0.1":"2024-06-15T21:20:54.034Z","0.0.2":"2024-06-19T23:03:00.183Z","0.0.3":"2024-06-20T00:18:52.718Z","0.0.4":"2024-06-20T07:51:46.644Z","0.0.5":"2024-06-20T16:49:17.885Z","1.0.0":"2024-06-20T17:57:29.218Z","1.0.1":"2024-06-20T20:10:49.039Z","1.0.2":"2024-06-20T20:20:40.202Z","1.0.3":"2024-06-20T21:48:20.260Z","1.0.4":"2024-06-23T18:49:29.388Z","1.0.5":"2025-02-05T16:27:46.472Z","1.0.7":"2025-02-09T13:23:44.702Z","1.0.8":"2025-02-10T13:49:20.789Z","1.0.9":"2025-02-10T15:58:31.710Z","1.0.10":"2025-02-12T05:31:49.070Z","1.1.0":"2025-02-15T21:49:42.598Z","1.1.1":"2025-02-16T07:12:07.432Z","1.1.2":"2025-02-17T21:14:50.913Z","1.1.3":"2025-02-25T20:46:30.070Z","1.1.4":"2025-05-10T11:41:37.976Z","1.1.5":"2025-06-08T13:36:22.901Z","1.2.0":"2025-09-11T09:46:45.990Z","1.2.1":"2025-11-11T20:14:46.961Z","1.2.2":"2026-02-20T04:29:36.510Z","1.2.3":"2026-04-18T09:59:11.712Z","1.2.4":"2026-05-27T15:35:31.564Z","1.2.5":"2026-08-18T20:55:54.122Z"},"bugs":{"url":"https://github.com/ipikuka/rehype-highlight-code-lines/issues"},"author":{"name":"ipikuka","email":"talatkuyuk@gmail.com"},"license":"MIT","homepage":"https://github.com/ipikuka/rehype-highlight-code-lines#readme","keywords":["unified","rehype","hast","markdown","mdx","plugin","highlight","highlighting","rehype plugin","rehype highlight","code highlighting","syntax highlighting","line numbering","line highlighting"],"repository":{"type":"git","url":"git+https://github.com/ipikuka/rehype-highlight-code-lines.git"},"description":"Rehype plugin to add line numbers to code blocks and allow highlighting of desired code lines","maintainers":[{"name":"talatkuyuk","email":"talatkuyuk@gmail.com"}],"readme":"# rehype-highlight-code-lines\n\n**A robust Next.js newsletter `Next.js Weekly` is sponsoring me** 💖\n[![NextjsWeekly banner](./assets/next-js-weekly.png)](https://nextjsweekly.com/)\n\n**An outstanding Git-based CMS `Outstatic` is also sponsoring me** 💖\n[![Outstatic banner](./assets/outstatic-banner-dark.jpg)](https://outstatic.com/?utm_source=github&utm_medium=readme&utm_campaign=next-mdx-remote-client)\n\nA warm thanks 🙌 to [@ErfanEbrahimnia](https://github.com/ErfanEbrahimnia), [@avitorio](https://github.com/avitorio), [@recepkyk](https://github.com/recepkyk), and [@LSeaburg](https://github.com/LSeaburg) for the [support](https://github.com/sponsors/ipikuka) 💖\n\n---\n\n[![npm version][badge-npm-version]][url-npm-package]\n[![npm downloads][badge-npm-download]][url-npm-package]\n[![publish to npm][badge-publish-to-npm]][url-publish-github-actions]\n[![code-coverage][badge-codecov]][url-codecov]\n[![type-coverage][badge-type-coverage]][url-github-package]\n[![typescript][badge-typescript]][url-typescript]\n[![license][badge-license]][url-license]\n\nThis package is a **[unified][unified]** (**[rehype][rehype]**) plugin that **wraps each line of code in a container, enabling code block numbering and line highlighting**.\n\n**[unified][unified]** is a project that transforms content with abstract syntax trees (ASTs) using the new parser **[micromark][micromark]**. **[remark][remark]** adds support for markdown to unified. **[mdast][mdast]** is the Markdown Abstract Syntax Tree (AST) which is a specification for representing markdown in a syntax tree. **[rehype][rehype]** is a tool that transforms HTML with plugins. **[hast][hast]** stands for HTML Abstract Syntax Tree (HAST) that rehype uses.\n\n**This plugin enables line numbering for code blocks and highlights specific lines as needed.**\n\n## When should I use this?\n\n**`rehype-highlight-code-lines`** is ideal for adding line numbers to code blocks and highlighting specific lines.\n\n**`rehype-highlight-code-lines`** is **NOT** code highlighter and **does NOT** provide code highlighting! You can use a code highlighter for example **[rehype-highlight][rehype-highlight]** to highlight the code, then use **`rehype-highlight-code-lines`** **after**.\n\n> [!IMPORTANT]\n> If your code highlighter already provides numbering and highlighting code lines, don't use **`rehype-highlight-code-lines`**!\n> \\\n> \\\n> You can use **`rehype-highlight-code-lines`** even without a code highlighter.\n\n## Installation\n\nThis package is suitable for ESM only. In Node.js (version 16+), install with npm:\n\n```bash\nnpm install rehype-highlight-code-lines\n```\n\nor\n\n```bash\nyarn add rehype-highlight-code-lines\n```\n\n## Usage\n\nIn a code fence, right after the language of the code block:\n+ Use curly braces `{}` to specify a range of line numbers to highlight specific lines.\n+ Add `showLineNumbers` to enable line numbering.\n\n**\\`\\`\\`[language] {2,4-6} showLineNumbers**\n\n**\\`\\`\\`[language] showLineNumbers {2}**\n\n**\\`\\`\\`[language] {1-3}**\n\n**\\`\\`\\`[language] showLineNumbers**\n\nYou can use the specifiers without a language:\n\n**\\`\\`\\`{5} showLineNumbers**\n\n**\\`\\`\\`showLineNumbers {5}**\n\n**\\`\\`\\`{2,3}**\n\n**\\`\\`\\`showLineNumbers**\n\nSay we have the following markdown file, `example.md`:\n\n````markdown\n```javascript {2} showLineNumbers\nlet a1;\nlet a2;\nlet a3;\n```\n````\n\nI assume you use `rehype-highlight` for code highlighting. Our module, `example.js`, looks as follows:\n\n```javascript\nimport { read } from \"to-vfile\";\nimport remark from \"remark\";\nimport gfm from \"remark-gfm\";\nimport remarkRehype from \"remark-rehype\";\nimport rehypeHighlight from \"rehype-highlight\";\nimport rehypeHighlightLines from \"rehype-highlight-code-lines\";\nimport rehypeStringify from \"rehype-stringify\";\n\nmain();\n\nasync function main() {\n  const file = await remark()\n    .use(gfm)\n    .use(remarkRehype)\n    .use(rehypeHighlight)\n    .use(rehypeHighlightLines)\n    .use(rehypeStringify)\n    .process(await read(\"example.md\"));\n\n  console.log(String(file));\n}\n```\n\nNow, running `node example.js` you will see that each line of code is wrapped in a **`span`**, which has appropriate class names (`code-line`, `numbered-code-line`, `highlighted-code-line`)  and line numbering attribute `data-line-number`.\n\n```html\n<pre>\n  <code class=\"hljs language-javascript\">\n    <span class=\"code-line numbered-code-line\" data-line-number=\"1\">\n      <span class=\"hljs-keyword\">let</span> a1;\n    </span>\n    <span\n      class=\"code-line numbered-code-line highlighted-code-line\" data-line-number=\"2\">\n      <span class=\"hljs-keyword\">let</span> a2;\n    </span>\n    <span class=\"code-line numbered-code-line\" data-line-number=\"3\">\n      <span class=\"hljs-keyword\">let</span> a3;\n    </span>\n  </code>\n</pre>\n```\n\nWithout **`rehype-highlight-code-lines`**, the lines of code wouldn't be in a `span`.\n\n```html\n<pre>\n  <code class=\"hljs language-javascript\">\n    <span class=\"hljs-keyword\">let</span> a1;\n    <span class=\"hljs-keyword\">let</span> a2;\n    <span class=\"hljs-keyword\">let</span> a3;\n  </code>\n</pre>\n```\n\n***Note:** `hljs` prefix comes from `rehype-highlight`*.\n\n## Usage in HTML attributes\n\n**`rehype-highlight-code-lines`** runs on `<code>` elements with directives like `showLineNumbers` and range number in curly braces like `{2-4,8}`. That directives can be passed as a word in markdown (` ```ts showLineNumbers {2-4,8} `) or as a class and attribute in HTML (`<code class=\"language-ts show-line-numbers\" data-highlight-lines=\"2-4,8\">`).\n\nThe inverse occurs when the option `showLineNumbers` is true. All `<code>` are processed and numbered. Then (` ```ts noLineNumbers `), or as a class (`<code class=\"language-ts no-line-numbers\">`) can be used to prevent processing.\n\n**The class directives can be with dash or without, or camel cased.**\n\nSee some example usage as HTML class and attributes *(only opening `<code>` tags are provided, the rest is  omitted.)*:\n```html\n<code class=\"language-typescript show-line-numbers\">\n<code class=\"language-typescript showlinenumbers\">\n<code class=\"language-typescript showLineNumbers\">\n\n<code class=\"language-typescript show-line-numbers\" data-highlight-lines=\"2-4\">\n<code class=\"language-typescript show-line-numbers\" data-start-numbering=\"11\">\n<code class=\"language-typescript show-line-numbers\" data-start-numbering=\"11\" data-highlight-lines=\"2-4\">\n\n<code class=\"language-typescript no-line-numbers\">\n<code class=\"language-typescript nolinenumbers\">\n<code class=\"language-typescript noLineNumbers\">\n<code class=\"language-typescript no-line-numbers\" data-highlight-lines=\"2-4\">\n\n<code class=\"no-line-numbers\">\n<code class=\"show-line-numbers\">\n<code class=\"show-line-numbers\" data-highlight-lines=\"2-4\">\n<code data-highlight-lines=\"2-4\">\n<code data-start-numbering=\"11\">\n```\n\nSay we have the following HTML fragment in a `example.md`:\n\n```markdown\n<pre><code class=\"language-javascript show-line-numbers\" data-highlight-lines=\"2\">\nlet a1;\nlet a2;\nlet a3;\n</code></pre>\n```\n\nI assume you use `rehype-highlight` for code highlighting. Our module, `example.js`, looks as follows:\n\n```javascript\nimport { read } from \"to-vfile\";\nimport remarkParse from \"remark-parse\";\nimport remarkRehype from \"remark-rehype\";\nimport rehypeRaw from \"rehype-raw\";\nimport rehypeHighlight from \"rehype-highlight\";\nimport rehypeHighlightLines from \"rehype-highlight-code-lines\";\nimport rehypeStringify from \"rehype-stringify\";\n\nmain();\n\nasync function main() {\n  const file = await unified()\n    .use(remarkParse)\n    .use(remarkRehype, { allowDangerousHtml: true })\n    .use(rehypeRaw)\n    .use(rehypeHighlight)\n    .use(rehypeHighlightLines)\n    .use(rehypeStringify)\n    .process(await read(\"example.md\"));\n\n  console.log(String(file));\n}\n```\n\nNow, running `node example.js` you will see that each line of code is wrapped in a **`span`**, which has appropriate class names (`code-line`, `numbered-code-line`, `highlighted-code-line`)  and line numbering attribute `data-line-number`.\n\n```html\n<pre>\n  <code class=\"hljs language-javascript\">\n    <span class=\"code-line numbered-code-line\" data-line-number=\"1\">\n      <span class=\"hljs-keyword\">let</span> a1;\n    </span>\n    <span\n      class=\"code-line numbered-code-line highlighted-code-line\" data-line-number=\"2\">\n      <span class=\"hljs-keyword\">let</span> a2;\n    </span>\n    <span class=\"code-line numbered-code-line\" data-line-number=\"3\">\n      <span class=\"hljs-keyword\">let</span> a3;\n    </span>\n  </code>\n</pre>\n```\n\n## Options\n\nAll options are **optional** and have **default values**.\n\n```typescript\ntype HighlightLinesOptions = {\n  showLineNumbers?: boolean; // default is \"false\"\n  keepOuterBlankLine?: boolean; // default is \"false\"\n};\n\nuse(rehypeHighlightLines, HighlightLinesOptions);\n```\n\n#### `showLineNumbers`\n\nIt is a **boolean** option which is for all code to be numbered.\n\nBy default, it is `false`.\n\n```javascript\nuse(rehypeHighlightLines, {\n  showLineNumbers: true,\n});\n```\n\nNow, all code blocks will become numbered.\n\nIf you want to exclude a specific code block not to be numbered, use `noLineNumbers`.\n\n**\\`\\`\\`[language] noLineNumbers {2}**\n\n**\\`\\`\\`[language] noLineNumbers**\n\n**\\`\\`\\`noLineNumbers**\n\nIf you want to exclude a specific code block not to be numbered in HTML fragment (in `<pre>`) use `no-line-numbers` class. In that case, the directive could be with dash, or without, or camel cased.\n\n**`<code class=\"language-ts no-line-numbers\">`**\n\n**`<code class=\"language-ts nolinenumbers\">`**\n\n**`<code class=\"language-ts noLineNumbers\">`**\n\nSometimes you may want to start the line numbering from a specific number. In that cases, use `showLineNumbers=[number]` in code blocks. For example, below, the code block's line numbering will start from number `8`. \n\n**\\`\\`\\`[language] {2} showLineNumbers=8**\n\n**\\`\\`\\`[language] showLineNumbers=8**\n\n**\\`\\`\\`showLineNumbers=8**\n\nIf you want to start the line numbering from a specific number in HTML fragment (in `<pre>`) use `data-start-numbering` attribute.\n\n**`<code class=\"...\" data-start-numbering=\"8\">`**\n\n#### `keepOuterBlankLine`\n\nIt is a **boolean** option which is for all code blocks have an empty line container in the beginning and at the end. I added this option in case you want to have an empty code line on the edges for whatever reason.\n\nBy default, it is `false`.\n\n```javascript\nuse(rehypeHighlightLines, {\n  keepOuterBlankLine: true,\n});\n```\n\nNow, all code blocks will have one empty code line on each edge.\n\nIf you want a specific code block has empty code line on the edges, use `keepOuterBlankLine`.\n\n**\\`\\`\\`[language] keepOuterBlankLine**\n\n**\\`\\`\\`keepOuterBlankLine**\n\nIn HTML fragment use `keep-outer-blank-line` class. In that case, the directive could be with dash, or without, or camel cased.\n\n**`<code class=\"language-ts keep-outer-blank-line\">`**\n\n**`<code class=\"language-ts keepouterblankline\">`**\n\n**`<code class=\"language-ts keepOuterBlankLine\">`**\n\n### Examples:\n\n```typescript\n// line numbering will occur as per directive \"showLineNumber\" and code-line containers will be <span> inline element\nuse(rehypeHighlightLines);\n\n// all code blocks will be numbered by default and code-line containers will be <span> inline element\nuse(rehypeHighlightLines, {\n  showLineNumbers: true,\n});\n```\n\n**An example screen snapshot from a working app:**\n\n![markdown code block input](https://github.com/rehypejs/rehype-highlight/assets/30029208/d597f4e5-d7ca-4a84-b843-950094e4a49b)\n![markdown code block result](https://github.com/rehypejs/rehype-highlight/assets/30029208/908449d6-8028-4ecd-8536-3e747c725da7)\n\n**Here you can find some demo applications below which the `rehype-highlight` and `rehype-highlight-code-lines` are used together:**\n+ [demo blog application](https://nmrc-in-app-router.vercel.app) using `next-mdx-remote-client` within `Next.js app router`\n+ [demo blog application](https://nmrc-in-pages-router.vercel.app) using `next-mdx-remote-client` within `Next.js pages router`\n\n## Styling\n\nThe following styles can be added for **line highlighting** and **line numbering** to work correctly:\n\n*Choose the colors as you wish!*\n\n```css\n.parent-container-of-pre {\n  display: grid; /* in order { overflow-x: auto; } works in child <pre> */\n}\n\npre,\npre code {\n  background-color: var(--color-code-background);\n\n  direction: ltr;\n  text-align: left;\n  white-space: pre;\n  word-spacing: normal;\n  word-break: normal;\n  line-height: 1.2;\n  tab-size: 2;\n  hyphens: none;\n}\n\npre {\n  padding: 0.5rem 1rem;\n  border: 1px solid var(--color-text-weak);\n  border-radius: 5px;\n\n  overflow-x: auto;\n}\n\npre > code {\n  float: left;\n  min-width: 100%;\n}\n\n.code-line {\n  min-width: 100%;\n  padding-left: 12px;\n  padding-right: 12px;\n  margin-left: -12px;\n  margin-right: -12px;\n  border-left: 4px solid transparent; /* prepare for highlighted code-lines */\n\n  display: inline-block;\n}\n\n.code-line.inserted {\n  background-color: var(--color-inserted-line); /* inserted code-line (+) */\n}\n\n.code-line.deleted {\n  background-color: var(--color-deleted-line); /* deleted code-line (-) */\n}\n\n.highlighted-code-line {\n  background-color: var(--color-highlighted-line);\n  border-left: 4px solid var(--color-highlighted-line-indicator);\n}\n\n.numbered-code-line::before {\n  content: attr(data-line-number);\n\n  margin-left: -8px;\n  margin-right: 16px;\n  width: 1rem;\n  color: var(--color-text-weak);\n  text-align: right;\n\n  display: inline-block;\n}\n```\n\n## Syntax tree\n\nThis plugin modifies the `hast` (HTML abstract syntax tree).\n\n## Types\n\nThis package is fully typed with [TypeScript][url-typescript].\n\nThe plugin exports the type `HighlightLinesOptions`.\n\n## Compatibility\n\nThis plugin works with `rehype-parse` version 1+, `rehype-stringify` version 1+, `rehype` version 1+, and unified version `4+`.\n\n## Security\n\nUse of **`rehype-highlight-code-lines`** involves rehype (hast), but doesn't lead to cross-site scripting (XSS) attacks.\n\n## My Plugins\n\nI like to contribute the Unified / Remark / MDX ecosystem, so I recommend you to have a look my plugins.\n\n### Support My Work ([become a sponsor](https://github.com/sponsors/ipikuka) 🚀)\n\nIf you find **`rehype-highlight-code-lines`** or any of my projects is useful and helpful, please consider supporting my work. Your sponsorship means a lot to me and keeps these projects alive and updated! 💖\n\nMy sponsors are going to be featured at the very top of the page and proudly displayed on my [Sponsor Wall](https://github.com/sponsors/ipikuka).\n\nThank you for supporting open source! 🙌\n\n### My Remark Plugins\n\n- [`remark-flexible-code-titles`](https://www.npmjs.com/package/remark-flexible-code-titles)\n  – Remark plugin to add titles or/and containers for the code blocks with customizable properties\n- [`remark-flexible-containers`](https://www.npmjs.com/package/remark-flexible-containers)\n  – Remark plugin to add custom containers with customizable properties in markdown\n- [`remark-ins`](https://www.npmjs.com/package/remark-ins)\n  – Remark plugin to add `ins` element in markdown\n- [`remark-flexible-paragraphs`](https://www.npmjs.com/package/remark-flexible-paragraphs)\n  – Remark plugin to add custom paragraphs with customizable properties in markdown\n- [`remark-flexible-markers`](https://www.npmjs.com/package/remark-flexible-markers)\n  – Remark plugin to add custom `mark` element with customizable properties in markdown\n- [`remark-flexible-toc`](https://www.npmjs.com/package/remark-flexible-toc)\n  – Remark plugin to expose the table of contents via `vfile.data` or via an option reference\n- [`remark-mdx-remove-esm`](https://www.npmjs.com/package/remark-mdx-remove-esm)\n  – Remark plugin to remove import and/or export statements (mdxjsEsm)\n- [`remark-mdx-remove-expressions`](https://www.npmjs.com/package/remark-mdx-remove-expressions)\n  – Remark plugin to remove MDX expressions within curlybraces {} in MDX content\n\n### My Rehype Plugins\n\n- [`rehype-pre-language`](https://www.npmjs.com/package/rehype-pre-language)\n  – Rehype plugin to add language information as a property to `pre` element\n- [`rehype-highlight-code-lines`](https://www.npmjs.com/package/rehype-highlight-code-lines)\n  – Rehype plugin to add line numbers to code blocks and allow highlighting of desired code lines\n- [`rehype-code-meta`](https://www.npmjs.com/package/rehype-code-meta)\n  – Rehype plugin to copy `code.data.meta` to `code.properties.metastring`\n- [`rehype-image-toolkit`](https://www.npmjs.com/package/rehype-image-toolkit)\n  – Rehype plugin to enhance Markdown image syntax `![]()` and Markdown/MDX media elements (`<img>`, `<audio>`, `<video>`) by auto-linking bracketed or parenthesized image URLs, wrapping them in `<figure>` with optional captions, unwrapping images/videos/audio from paragraph, parsing directives in title for styling and adding attributes, and dynamically converting images into `<video>` or `<audio>` elements based on file extension.\n\n### My Recma Plugins\n\n- [`recma-mdx-escape-missing-components`](https://www.npmjs.com/package/recma-mdx-escape-missing-components)\n  – Recma plugin to set the default value `() => null` for the Components in MDX in case of missing or not provided so as not to throw an error\n- [`recma-mdx-change-props`](https://www.npmjs.com/package/recma-mdx-change-props)\n  – Recma plugin to change the `props` parameter into the `_props` in the `function _createMdxContent(props) {/* */}` in the compiled source in order to be able to use `{props.foo}` like expressions. It is useful for the `next-mdx-remote` or `next-mdx-remote-client` users in `nextjs` applications.\n- [`recma-mdx-change-imports`](https://www.npmjs.com/package/recma-mdx-change-imports)\n  – Recma plugin to convert import declarations for assets and media with relative links into variable declarations with string URLs, enabling direct asset URL resolution in compiled MDX.\n- [`recma-mdx-import-media`](https://www.npmjs.com/package/recma-mdx-import-media)\n  – Recma plugin to turn media relative paths into import declarations for both markdown and html syntax in MDX.\n- [`recma-mdx-import-react`](https://www.npmjs.com/package/recma-mdx-import-react)\n  – Recma plugin to ensure getting `React` instance from the arguments and to make the runtime props `{React, jsx, jsxs, jsxDev, Fragment}` is available in the dynamically imported components in the compiled source of MDX.\n- [`recma-mdx-html-override`](https://www.npmjs.com/package/recma-mdx-html-override)\n  – Recma plugin to allow selected raw HTML elements to be overridden via MDX components.\n- [`recma-mdx-interpolate`](https://www.npmjs.com/package/recma-mdx-interpolate)\n  – Recma plugin to enable interpolation of identifiers wrapped in curly braces within the `alt`, `src`, `href`, and `title` attributes of markdown link and image syntax in MDX.\n\n### My Unist Utils and Unified Plugins\n\nI also build low-level utilities and plugins for the Unified ecosystem that can be used across Remark, Rehype, Recma, and other unist-based abstract syntax trees (ASTs).\n\n- [`unist-util-find-between`](https://www.npmjs.com/package/unist-util-find-between)\n  – Unist utility to find the nodes between two nodes.\n- [`unified-log-tree`](https://www.npmjs.com/package/unified-log-tree)\n  – Unified plugin to log abstract syntax trees (ASTs) for debugging without mutating.\n\n## License\n\n[MIT License](./LICENSE) © ipikuka\n\n[unified]: https://github.com/unifiedjs/unified\n[micromark]: https://github.com/micromark/micromark\n[remark]: https://github.com/remarkjs/remark\n[remarkplugins]: https://github.com/remarkjs/remark/blob/main/doc/plugins.md\n[mdast]: https://github.com/syntax-tree/mdast\n[rehype]: https://github.com/rehypejs/rehype\n[rehypeplugins]: https://github.com/rehypejs/rehype/blob/main/doc/plugins.md\n[hast]: https://github.com/syntax-tree/hast\n[rehype-highlight]: https://github.com/rehypejs/rehype-highlight\n\n[badge-npm-version]: https://img.shields.io/npm/v/rehype-highlight-code-lines\n[badge-npm-download]:https://img.shields.io/npm/dt/rehype-highlight-code-lines\n[url-npm-package]: https://www.npmjs.com/package/rehype-highlight-code-lines\n[url-github-package]: https://github.com/ipikuka/rehype-highlight-code-lines\n\n[badge-license]: https://img.shields.io/github/license/ipikuka/rehype-highlight-code-lines\n[url-license]: https://github.com/ipikuka/rehype-highlight-code-lines/blob/main/LICENSE\n\n[badge-publish-to-npm]: https://github.com/ipikuka/rehype-highlight-code-lines/actions/workflows/publish.yml/badge.svg\n[url-publish-github-actions]: https://github.com/ipikuka/rehype-highlight-code-lines/actions/workflows/publish.yml\n\n[badge-typescript]: https://img.shields.io/npm/types/rehype-highlight-code-lines\n[url-typescript]: https://www.typescriptlang.org\n\n[badge-codecov]: https://codecov.io/gh/ipikuka/rehype-highlight-code-lines/graph/badge.svg?token=RKrZlvMHwq\n[url-codecov]: https://codecov.io/gh/ipikuka/rehype-highlight-code-lines\n\n[badge-type-coverage]: https://img.shields.io/badge/dynamic/json.svg?label=type-coverage&prefix=%E2%89%A5&suffix=%&query=$.typeCoverage.atLeast&uri=https%3A%2F%2Fraw.githubusercontent.com%2Fipikuka%2Frehype-highlight-code-lines%2Fmain%2Fpackage.json","readmeFilename":"README.md"}