{"_id":"markdown-it-prettier","_rev":"6-03d98e129b2c7ea4125253632a07ad10","name":"markdown-it-prettier","description":"Format JavaScript in your markdown code.","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"markdown-it-prettier","version":"1.0.0","description":"Format JavaScript in your markdown code.","repository":{"url":"git+https://github.com/egoist/markdown-it-prettier.git","type":"git"},"main":"index.js","files":["index.js"],"scripts":{"test":"jest && npm run lint","lint":"xo"},"author":{"name":"egoist","email":"0x142857@gmail.com"},"license":"MIT","jest":{"testEnvironment":"node"},"dependencies":{"prettier":"^1.3.1"},"devDependencies":{"eslint-config-rem":"^3.0.0","jest-cli":"^19.0.0","markdown-it":"^8.3.1","xo":"^0.18.0"},"xo":{"extends":"rem","envs":["jest"]},"gitHead":"6c45e03a6df0cfff27ae8c6f18aa282633c16529","bugs":{"url":"https://github.com/egoist/markdown-it-prettier/issues"},"homepage":"https://github.com/egoist/markdown-it-prettier#readme","_id":"markdown-it-prettier@1.0.0","_shasum":"83b8f37e8f5af3d5572b0702e95e512370ea6557","_from":".","_npmVersion":"3.10.10","_nodeVersion":"7.6.0","_npmUser":{"name":"rem","email":"0x142857@gmail.com"},"dist":{"shasum":"83b8f37e8f5af3d5572b0702e95e512370ea6557","tarball":"https://registry.npmjs.org/markdown-it-prettier/-/markdown-it-prettier-1.0.0.tgz","integrity":"sha512-7wgww7JEp0OriCImiYz3wQEiXaL52IceRs29kA8BRxsGkU7JVK9xPbjzsLERaN0ZKeQ2d9lwFH+yWwV8EejWPA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCjm5uz/hcjlyPZRL0kiZmxPriwxJknijLG6n2YCfjaxAIhANokwnS3mJPWoHlJrEbOtZyIyxBsrpZmFbbmIhq36vsa"}]},"maintainers":[{"name":"rem","email":"0x142857@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/markdown-it-prettier-1.0.0.tgz_1496375499138_0.1807270674034953"}},"1.0.1":{"name":"markdown-it-prettier","version":"1.0.1","description":"Format JavaScript in your markdown code.","repository":{"url":"git+https://github.com/egoist/markdown-it-prettier.git","type":"git"},"main":"index.js","files":["index.js"],"scripts":{"test":"jest && npm run lint","lint":"xo"},"author":{"name":"egoist","email":"0x142857@gmail.com"},"license":"MIT","jest":{"testEnvironment":"node"},"dependencies":{"prettier":"^1.3.1"},"devDependencies":{"eslint-config-rem":"^3.0.0","jest-cli":"^19.0.0","markdown-it":"^8.3.1","xo":"^0.18.0"},"xo":{"extends":"rem","envs":["jest"]},"gitHead":"a62e085790cd1df0fc3f1b022fd80fbbc9535e56","bugs":{"url":"https://github.com/egoist/markdown-it-prettier/issues"},"homepage":"https://github.com/egoist/markdown-it-prettier#readme","_id":"markdown-it-prettier@1.0.1","_shasum":"7094151d0366e31e85f2a5e380c21efacaae4a7e","_from":".","_npmVersion":"3.10.10","_nodeVersion":"7.6.0","_npmUser":{"name":"rem","email":"0x142857@gmail.com"},"dist":{"shasum":"7094151d0366e31e85f2a5e380c21efacaae4a7e","tarball":"https://registry.npmjs.org/markdown-it-prettier/-/markdown-it-prettier-1.0.1.tgz","integrity":"sha512-qc1d/NBqHiPYMTt0HHmb8r3h1W/HbO2ygOOWf3BunRdxN2sXRCIqWePSfttsQD3YYGi+bmO1jOvDw54N+ocluA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCmdj7i2Q1MbUfA7QnnwQhHWWg5lwymelVQQ7eabZYMogIgM8G0tNvqnbZ5OgpoGfUnAndwcu3E9zRK64TwgPivzbA="}]},"maintainers":[{"name":"rem","email":"0x142857@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/markdown-it-prettier-1.0.1.tgz_1496376717559_0.7820826885290444"}},"1.0.2":{"name":"markdown-it-prettier","version":"1.0.2","description":"Format JavaScript in your markdown code.","repository":{"url":"git+https://github.com/egoist/markdown-it-prettier.git","type":"git"},"main":"index.js","files":["index.js"],"scripts":{"test":"jest && npm run lint","lint":"xo"},"author":{"name":"egoist","email":"0x142857@gmail.com"},"license":"MIT","jest":{"testEnvironment":"node"},"dependencies":{"prettier":"^1.3.1"},"devDependencies":{"eslint-config-rem":"^3.0.0","jest-cli":"^19.0.0","markdown-it":"^8.3.1","xo":"^0.18.0"},"xo":{"extends":"rem","envs":["jest"]},"gitHead":"40c7d1072720a55935c4f20852304027b9600e8e","bugs":{"url":"https://github.com/egoist/markdown-it-prettier/issues"},"homepage":"https://github.com/egoist/markdown-it-prettier#readme","_id":"markdown-it-prettier@1.0.2","_npmVersion":"5.0.0","_nodeVersion":"8.0.0","_npmUser":{"name":"rem","email":"0x142857@gmail.com"},"dist":{"integrity":"sha512-JpNdXljJ9naJ94HY99GSelWfZw2DZxxHWa+tTQFKNu+uTF/wWShw5P5Wex8x93lXQ7zOQRwhVp0gAY7e64Oxgw==","shasum":"76c59cd35fa82777411bfe6b4abf749946272032","tarball":"https://registry.npmjs.org/markdown-it-prettier/-/markdown-it-prettier-1.0.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDfTJXDxdyQHhRHSj9zcv0Ik/hKK5gbiZK78JUeQf4MYgIhANqbgtzp2K5yIJYon/HYJnms/vLOVA14gHHBkhmxSZrR"}]},"maintainers":[{"name":"rem","email":"0x142857@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/markdown-it-prettier-1.0.2.tgz_1496377114050_0.07554476521909237"}},"1.1.0":{"name":"markdown-it-prettier","version":"1.1.0","description":"Format JavaScript in your markdown code.","repository":{"url":"git+https://github.com/egoist/markdown-it-prettier.git","type":"git"},"main":"index.js","files":["index.js"],"scripts":{"test":"ava && npm run lint","lint":"xo"},"author":{"name":"egoist","email":"0x142857@gmail.com"},"license":"MIT","devDependencies":{"ava":"^0.22.0","eslint-config-rem":"^3.0.0","markdown-it":"^8.3.1","prettier":"^1.7.4","xo":"^0.18.0"},"xo":{"extends":"rem"},"peerDependencies":{"prettier":"^1.7.4"},"gitHead":"7ceefd81c978eb2262ed7c83e01623cc9ddcfc70","bugs":{"url":"https://github.com/egoist/markdown-it-prettier/issues"},"homepage":"https://github.com/egoist/markdown-it-prettier#readme","_id":"markdown-it-prettier@1.1.0","_npmVersion":"5.3.0","_nodeVersion":"8.6.0","_npmUser":{"name":"rem","email":"0x142857@gmail.com"},"dist":{"integrity":"sha512-7ScpcBOl4MgIcVfQ0Q2F0ihXm6kh+0P9LlKnLVHPdC15HPWoGt7ySOu1Ml5bcl6PMT/XGyRSWymnh/86lMjD8w==","shasum":"4d6a58c8c2d0fc07f0b32a9ac91144f00a689430","tarball":"https://registry.npmjs.org/markdown-it-prettier/-/markdown-it-prettier-1.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEj+Q4OMNzNsk8u8Coe9+NVbhRoUT1Vcd6Fj27SLKiwTAiAbFswd3I6fBjZ3GqPo9C9GZFWFKZ/BCWmixICy4qyc8Q=="}]},"maintainers":[{"name":"rem","email":"0x142857@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/markdown-it-prettier-1.1.0.tgz_1508824756707_0.7095074367243797"}}},"readme":"# markdown-it-prettier\n\n[![NPM version](https://img.shields.io/npm/v/markdown-it-prettier.svg?style=flat)](https://npmjs.com/package/markdown-it-prettier) [![NPM downloads](https://img.shields.io/npm/dm/markdown-it-prettier.svg?style=flat)](https://npmjs.com/package/markdown-it-prettier) [![CircleCI](https://circleci.com/gh/egoist/markdown-it-prettier/tree/master.svg?style=shield)](https://circleci.com/gh/egoist/markdown-it-prettier/tree/master)  [![donate](https://img.shields.io/badge/$-donate-ff69b4.svg?maxAge=2592000&style=flat)](https://github.com/egoist/donate)\n\n## Install\n\n```bash\nyarn add prettier markdown-it-prettier\n```\n\n## Usage\n\n```js\nconst md = require('markdown-it')()\nconst prettier = require('markdown-it-prettier')\n\nconst options = { singleQuote: true }\nmd.use(prettier, options)\n```\n\n###\n\nIn:\n\n````markdown\n```js\nhello ( \"world\"\n)\n\nclass Foo{\nlog() {return \"42\"}\n}\n```\n````\n\nOut:\n\n````html\n<pre><code class=\"language-js\">hello('world');\n\nclass Foo {\n  log() {\n    return '42';\n  }\n}\n</code></pre>\n```\n````\n\nIt could format all kinds of code that [Prettier](https://github.com/prettier/prettier#prettier) could format.\n\n### Options\n\n[Prettier options](https://github.com/prettier/prettier#options).\n\n## Contributing\n\n1. Fork it!\n2. Create your feature branch: `git checkout -b my-new-feature`\n3. Commit your changes: `git commit -am 'Add some feature'`\n4. Push to the branch: `git push origin my-new-feature`\n5. Submit a pull request :D\n\n\n## Author\n\n**markdown-it-prettier** © [egoist](https://github.com/egoist), Released under the [MIT](./LICENSE) License.<br>\nAuthored and maintained by egoist with help from contributors ([list](https://github.com/egoist/markdown-it-prettier/contributors)).\n\n> [egoistian.com](https://egoistian.com) · GitHub [@egoist](https://github.com/egoist) · Twitter [@_egoistlily](https://twitter.com/_egoistlily)\n","maintainers":[{"name":"rem","email":"0x142857@gmail.com"}],"time":{"modified":"2022-06-19T16:09:08.340Z","created":"2017-06-02T03:51:39.441Z","1.0.0":"2017-06-02T03:51:39.441Z","1.0.1":"2017-06-02T04:11:57.850Z","1.0.2":"2017-06-02T04:18:34.130Z","1.1.0":"2017-10-24T05:59:16.816Z"},"homepage":"https://github.com/egoist/markdown-it-prettier#readme","repository":{"url":"git+https://github.com/egoist/markdown-it-prettier.git","type":"git"},"author":{"name":"egoist","email":"0x142857@gmail.com"},"bugs":{"url":"https://github.com/egoist/markdown-it-prettier/issues"},"license":"MIT","readmeFilename":"README.md"}