{"_id":"@anthonypena/marked-styled-image","_rev":"2-2c084fe0e067779f688a1dd577ec3f87","name":"@anthonypena/marked-styled-image","dist-tags":{"latest":"1.0.0"},"versions":{"0.0.1":{"name":"@anthonypena/marked-styled-image","version":"0.0.1","keywords":["marked"],"author":{"name":"Anthony Pena"},"license":"MIT","_id":"@anthonypena/marked-styled-image@0.0.1","maintainers":[{"name":"kuroidoruido","email":"anthony.pena@outlook.fr"}],"dist":{"shasum":"9436f3b9d570253208653bef6dcdf4175a8691dc","tarball":"https://registry.npmjs.org/@anthonypena/marked-styled-image/-/marked-styled-image-0.0.1.tgz","fileCount":15,"integrity":"sha512-FtLGTrdVhKZsn+9enldtQln6MK1sHVVafEeqf3dbHurCptuLHR+XQUzkmx98rNV8ZnCef5D02O196WpHdHiarw==","signatures":[{"sig":"MEYCIQDuN0surTgzD1lsVluyHi3nyOOdlWtdC/1O57AFe8gYUwIhAJCnalr6hiBhUgt4NR3n8tldtmZsDl12KdASS2/PYBA4","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8472},"main":"dist/index.js","_from":"file:anthonypena-marked-styled-image-0.0.1.tgz","types":"dist/index.d.ts","private":false,"scripts":{"lint":"eslint --ext ts,tsx,js,tsx src","test":"vitest","build":"run-s clean build-ts","clean":"rimraf ./dist","pretty":"prettier . --check","build-ts":"tsc","lint-fix":"pnpm lint --fix","pretty-fix":"prettier . --write"},"_npmUser":{"name":"kuroidoruido","email":"anthony.pena@outlook.fr"},"prettier":"@anthonypena/prettier-config","_resolved":"/tmp/8b72c3e5ae2ab4a45a98576a34c0a9b9/anthonypena-marked-styled-image-0.0.1.tgz","_integrity":"sha512-FtLGTrdVhKZsn+9enldtQln6MK1sHVVafEeqf3dbHurCptuLHR+XQUzkmx98rNV8ZnCef5D02O196WpHdHiarw==","_npmVersion":"10.8.2","description":"Plugin to use image title part to define custom style.","directories":{},"_nodeVersion":"20.18.1","dependencies":{"@anthonypena/fp":"1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","marked":"^5.0.0","rimraf":"^5.0.5","vitest":"^1.4.0","prettier":"^3.2.5","typescript":"^5.4.3","npm-run-all":"^4.1.5","@types/marked":"^5.0.0","@anthonypena/tsconfig":"0.1.0","@anthonypena/eslint-plugin":"0.1.0","@anthonypena/prettier-config":"0.1.0"},"peerDependencies":{"marked":"=5.x"},"_npmOperationalInternal":{"tmp":"tmp/marked-styled-image_0.0.1_1734512791690_0.4292966506692759","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@anthonypena/marked-styled-image","version":"1.0.0","description":"Plugin to use image title part to define custom style.","repository":{"type":"git","url":"git+https://github.com/kuroidoruido/js-libs.git","directory":"libs/marked-styled-image"},"main":"dist/index.js","types":"dist/index.d.ts","private":false,"keywords":["marked"],"author":{"name":"Anthony Pena"},"license":"MIT","dependencies":{"@anthonypena/fp":"1.0.2"},"devDependencies":{"@types/marked":"^5.0.0","eslint":"^8.57.0","marked":"^5.0.0","npm-run-all":"^4.1.5","prettier":"^3.2.5","rimraf":"^5.0.5","tsup":"^8.5.0","typescript":"^5.4.3","vitest":"^1.4.0","@anthonypena/eslint-plugin":"0.1.0","@anthonypena/prettier-config":"0.1.0","@anthonypena/tsconfig":"0.1.0"},"peerDependencies":{"marked":"=5.x"},"prettier":"@anthonypena/prettier-config","scripts":{"clean":"rimraf ./dist","build-ts":"tsup src/index.ts","build":"run-s clean build-ts","test":"vitest","pretty":"prettier . --check","pretty-fix":"prettier . --write","lint":"eslint --ext ts,tsx,js,tsx src","lint-fix":"pnpm lint --fix"},"_id":"@anthonypena/marked-styled-image@1.0.0","bugs":{"url":"https://github.com/kuroidoruido/js-libs/issues"},"homepage":"https://github.com/kuroidoruido/js-libs#readme","_integrity":"sha512-7okDSJ7FYnW4DWJYc/0YePwnCw3GjcqSqwxOxNpuKg0Luj/IAJMB0hX3QaFy65HMrOLb+HEQ/Ifw3K8dHvMdeQ==","_resolved":"/tmp/fcb0cb81893b93b093427b21a1a5d085/anthonypena-marked-styled-image-1.0.0.tgz","_from":"file:anthonypena-marked-styled-image-1.0.0.tgz","_nodeVersion":"20.19.6","_npmVersion":"10.8.2","dist":{"integrity":"sha512-7okDSJ7FYnW4DWJYc/0YePwnCw3GjcqSqwxOxNpuKg0Luj/IAJMB0hX3QaFy65HMrOLb+HEQ/Ifw3K8dHvMdeQ==","shasum":"873ee790a22b3599fcd1975a98a83b385f834075","tarball":"https://registry.npmjs.org/@anthonypena/marked-styled-image/-/marked-styled-image-1.0.0.tgz","fileCount":13,"unpackedSize":22978,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBFgXX2PCikClNk/Prv1vMgbaxd4me8x5mHPsFjYvq23AiEAnhbYnoiMu5a/S9/A+ZO07cDcmn7NORmOAnegn0YW12k="}]},"_npmUser":{"name":"kuroidoruido","email":"anthony.pena@outlook.fr"},"directories":{},"maintainers":[{"name":"kuroidoruido","email":"anthony.pena@outlook.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/marked-styled-image_1.0.0_1768375905097_0.9261173775782678"},"_hasShrinkwrap":false}},"time":{"created":"2024-12-18T09:06:31.581Z","modified":"2026-01-14T07:31:45.365Z","0.0.1":"2024-12-18T09:06:31.943Z","1.0.0":"2026-01-14T07:31:45.236Z"},"author":{"name":"Anthony Pena"},"license":"MIT","keywords":["marked"],"description":"Plugin to use image title part to define custom style.","maintainers":[{"name":"kuroidoruido","email":"anthony.pena@outlook.fr"}],"readme":"# @anthonypena/marked-styled-image\n\n## Install\n\n```Bash\nnpm i @anthonypena/marked-styled-image\n```\n\n## Examples\n\n### Add the plugin to your Marked instance\n\n```TypeScript\nimport { markedStyledImage } from '@anthonypena/marked-styled-image';\nimport { Marked } from 'marked';\n\nconst marked = new Marked();\n\nmarked.use(markedStyledImage({ knownStyles: ['bg', 'w-100'] }));\n```\n\n## Transformation\n\nFrom:\n\n```Markdown\n![](./img/foo.jpg \"bg w-100\")\n```\n\nto:\n\n```Html\n<img src=\"./img/foo.jpg\" alt=\"\" class=\"bg w-100\"/>\n```\n","readmeFilename":"README.md","homepage":"https://github.com/kuroidoruido/js-libs#readme","repository":{"type":"git","url":"git+https://github.com/kuroidoruido/js-libs.git","directory":"libs/marked-styled-image"},"bugs":{"url":"https://github.com/kuroidoruido/js-libs/issues"}}