{"_id":"markdown-it-fence","_rev":"5-e4bb1afa9b703e4c9743e84bb750f046","name":"markdown-it-fence","description":"fence customize plugin for markdown-it","dist-tags":{"latest":"0.1.3"},"versions":{"0.0.1":{"name":"markdown-it-fence","version":"0.0.1","description":"fence customize plugin for markdown-it","repository":{"url":"git+https://github.com/geekplux/markdown-it-fence.git","type":"git"},"main":"dist/index.common.js","files":["dist"],"scripts":{"test:cov":"jest --coverage && npm run lint","test":"jest && npm run lint && npm run build","lint":"xo","build":"bili --name index"},"author":{"name":"geekplux","email":"geekplux@gmail.com"},"keywords":["markdown","md","markdown-it","markdown-it-plugin"],"license":"MIT","jest":{"testEnvironment":"node"},"babel":{"env":{"test":{"presets":["es2015"]}}},"devDependencies":{"babel-preset-es2015":"^6.22.0","bili":"^0.14.0","eslint-config-geekplux":"^1.0.0","jest-cli":"^18.1.0","xo":"^0.17.1"},"xo":{"extends":"geekplux","esnext":true,"envs":["jest"]},"gitHead":"5e9366196c770ee5c57d74fc6cefbbb137f1c6c0","bugs":{"url":"https://github.com/geekplux/markdown-it-fence/issues"},"homepage":"https://github.com/geekplux/markdown-it-fence#readme","_id":"markdown-it-fence@0.0.1","_shasum":"2449d26e9f33fc97962bfd50307940314ffae8e4","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.6.0","_npmUser":{"name":"geekplux","email":"geekplux@gmail.com"},"dist":{"shasum":"2449d26e9f33fc97962bfd50307940314ffae8e4","tarball":"https://registry.npmjs.org/markdown-it-fence/-/markdown-it-fence-0.0.1.tgz","integrity":"sha512-0GvuYrRhV1mB4CgdLsnc8IiSfpNsLErId9PQ6zZ4menvTq0O+oJq7oQZRfyIeUjMW8LbAb8wQlfoZ4Sflmub9Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC8J/e/Kw+CgAPJdJ88JlpMxhjqAj0kR6+3sUyzNwm7CwIgKwc5QpywQK3kXkYHJrU7OHdZoJJ4aONXHEAqF7yNC00="}]},"maintainers":[{"name":"geekplux","email":"geekplux@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/markdown-it-fence-0.0.1.tgz_1490086548312_0.9108820464462042"},"directories":{}},"0.0.2":{"name":"markdown-it-fence","version":"0.0.2","description":"fence customize plugin for markdown-it","repository":{"url":"git+https://github.com/geekplux/markdown-it-fence.git","type":"git"},"main":"dist/index.common.js","files":["dist"],"scripts":{"test:cov":"jest --coverage && npm run lint","test":"jest && npm run lint && npm run build","lint":"xo","build":"bili --name index"},"author":{"name":"geekplux","email":"geekplux@gmail.com"},"keywords":["markdown","md","markdown-it","markdown-it-plugin"],"license":"MIT","jest":{"testEnvironment":"node"},"babel":{"env":{"test":{"presets":["es2015"]}}},"devDependencies":{"babel-preset-es2015":"^6.22.0","bili":"^0.14.0","eslint-config-geekplux":"^1.0.0","jest-cli":"^19.0.2","markdown-it":"^8.3.1","xo":"^0.17.1"},"xo":{"extends":"geekplux","esnext":true,"envs":["jest"]},"gitHead":"40013bd8997e59a21b05fdcfed0c3c8b93ba9e21","bugs":{"url":"https://github.com/geekplux/markdown-it-fence/issues"},"homepage":"https://github.com/geekplux/markdown-it-fence#readme","_id":"markdown-it-fence@0.0.2","_shasum":"ce1fe95900891603300d9da519aada144d5de9fc","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.8.0","_npmUser":{"name":"geekplux","email":"geekplux@gmail.com"},"dist":{"shasum":"ce1fe95900891603300d9da519aada144d5de9fc","tarball":"https://registry.npmjs.org/markdown-it-fence/-/markdown-it-fence-0.0.2.tgz","integrity":"sha512-EB3BSfBL2dJXLcKxofpfDzU5vojVTBJ9zX//yDUtNT01f5iYih5bR+4m3R/ZRBwB504YjSRJYCbACe/Ni12LPg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDgPyC51oxLMeJHtG99hFyALR2uw4G6+6hMcJoAJPHZ4QIhAOGDfSjC6bdzFxLtVrCFHXBndy5iJ9q1k8AvT0IoAwA/"}]},"maintainers":[{"name":"geekplux","email":"geekplux@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/markdown-it-fence-0.0.2.tgz_1491373794651_0.6489056253340095"},"directories":{}},"0.1.3":{"name":"markdown-it-fence","version":"0.1.3","description":"fence customize plugin for markdown-it","repository":{"url":"git+https://github.com/geekplux/markdown-it-fence.git","type":"git"},"main":"dist/index.common.js","files":["dist"],"scripts":{"test:cov":"jest --coverage && npm run lint","test":"jest && npm run lint && npm run build","lint":"xo","build":"bili --name index"},"author":{"name":"GeekPlux","email":"geekplux@gmail.com","url":"http://geekplux.com/"},"keywords":["markdown","md","markdown-it","markdown-it-plugin"],"license":"MIT","jest":{"testEnvironment":"node"},"babel":{"env":{"test":{"presets":["es2015"]}}},"devDependencies":{"babel-preset-es2015":"^6.22.0","bili":"^0.14.0","eslint-config-geekplux":"^1.0.0","jest-cli":"^19.0.2","markdown-it":"^8.3.1","xo":"^0.17.1"},"xo":{"extends":"geekplux","esnext":true,"envs":["jest"]},"gitHead":"26786714fc9fc4bb9ff3e47ef833e95db85ea5a0","bugs":{"url":"https://github.com/geekplux/markdown-it-fence/issues"},"homepage":"https://github.com/geekplux/markdown-it-fence#readme","_id":"markdown-it-fence@0.1.3","_npmVersion":"5.6.0","_nodeVersion":"8.4.0","_npmUser":{"name":"geekplux","email":"geekplux@gmail.com"},"dist":{"integrity":"sha512-mdZbkwJUyZXhyDX4QzD+WnIhxWBq9oIIJU22E6jCT7MHgIp79oEOJfwXIl/HqmfIxnXEdC47sBGn4h6chM4DKw==","shasum":"26e90149b7de5658cdb27096b2e2b5ec4e72d6ce","tarball":"https://registry.npmjs.org/markdown-it-fence/-/markdown-it-fence-0.1.3.tgz","fileCount":4,"unpackedSize":6746,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbHovKCRA9TVsSAnZWagAA/nEP/jPFlUQNanpszMxvTIKy\nmINfqVEJhJDwUXW4YAsQ6FYLW+gOPwkaFcolyQDe7jzr2yUeD+RJl8zznCxZ\nUljqFx1+qvgqibeAA2UqiWGc9HeHz2kotsmFsjE9v3BZQ8a/dLY94pzNc3Ol\nPjd9jtWLJVK4OD7EnFUPwXQG5Nof1QkoGpv5LKstgpFVVPzjA+PQx40hZ8ao\nbLUKADtFdN6aDL5flnynB6yNp9YKr5deRmUp9zHhn02/kVzenxh3txseyg7Z\nA7w2A9brS+x83jtnwiwizc9vUjcagAQHbPCDSS9lsyY9BUWXU/qA600kRHsM\n6TRNMzbMzzMHF0cI1EqgkqWEeq4atSQSDzylezkQWkTOF3ZqnPTPlA1SyyaV\n+9Kz8XZq2ixcvKO0R5KgrAR+ixIb35J3t6sQvOUUt+j0VgEPOQI/yFPm5hxu\n7AfNzsf/cuwYzR5fVRaKFvTeEyjS8EiN89rGlnTaY5o93YzUxFPOkF0U1tFQ\nHuAlcEtuCPtdUwD0WpVXZV9Gkxj3UJ7jm6u1gF5FE4R7q/a2cnFoLQxgs+o1\n7+kA9vzqENTW8UNV6S/P270K0eRMbGfcTPN96AM0ZpkwFAV3vGXFjQYz8glN\nq4yMPkRyQCYH8z6JO21oLH7bZVjJNCVT/z5K0TM7VKYFGiDyLV/ztVkZLMv0\nPZsX\r\n=2Fcb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGZE5caROkb99UKqLiK4Id9Uza0wxxPkiFVC2fLPZqu/AiEAwhODlAYeklE7kSQmhq/0L2iLZJd+eW/7XXkVHx6tEew="}]},"maintainers":[{"name":"geekplux","email":"geekplux@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/markdown-it-fence_0.1.3_1528728521089_0.20660351304778213"},"_hasShrinkwrap":false}},"readme":"# markdown-it-fence\n\n[![NPM version](https://img.shields.io/npm/v/markdown-it-fence.svg?style=flat)](https://npmjs.com/package/markdown-it-fence) [![NPM downloads](https://img.shields.io/npm/dm/markdown-it-fence.svg?style=flat)](https://npmjs.com/package/markdown-it-fence) [![Build Status](https://img.shields.io/circleci/project/geekplux/markdown-it-fence/master.svg?style=flat)](https://circleci.com/gh/geekplux/markdown-it-fence) [![codecov](https://codecov.io/gh/geekplux/markdown-it-fence/branch/master/graph/badge.svg)](https://codecov.io/gh/geekplux/markdown-it-fence)\n [![donate](https://img.shields.io/badge/$-donate-ff69b4.svg?maxAge=2592000&style=flat)](http://donate.geekplux.com)\n\n> fence customize plugin for markdown-it\n\n## Install\n\n```bash\nyarn add markdown-it-fence --save\nnpm install markdown-it-fence --save\n```\n\n## Usage\n\n```js\nconst markdownitfence = require('markdown-it-fence')\n\nfunction yourPlugin (md, options) {\n  return markdownitfence(md, 'yourPluginName', {\n    marker: yourMarker,   // default is '`'\n    render: yourRender,\n    validate: yourValidate\n  })\n}\n\nconst md = require('markdown-it')();\nmd.use(yourPlugin).render(`content you want to parse`)\n\n```\n\n### Option params\n\n##### marker\n\nType: `string`<br>\nDefault: `\n\nMarker of fence block.\n\n##### render\n\nType: `function`<br>\nDefault: [defaultRender](./src/index.js)\n\nRender function.\n\n##### validate\n\nType: `function`<br>\nDefault: [defaultValidate](./src/index.js)\n\nValidate function.\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-fence** © [geekplux](https://github.com/geekplux), Released under the [MIT](./LICENSE) License.<br>\nAuthored and maintained by geekplux with help from contributors ([list](https://github.com/geekplux/markdown-it-fence/contributors)).\n\n> [github.com/geekplux](https://github.com/geekplux) · GitHub [@geekplux](https://github.com/geekplux) · Twitter [@geekplux](https://twitter.com/geekplux)\n","maintainers":[{"name":"geekplux","email":"geekplux@gmail.com"}],"time":{"modified":"2022-06-19T16:07:53.934Z","created":"2017-03-21T08:55:48.530Z","0.0.1":"2017-03-21T08:55:48.530Z","0.0.2":"2017-04-05T06:29:54.903Z","0.1.3":"2018-06-11T14:48:41.413Z"},"homepage":"https://github.com/geekplux/markdown-it-fence#readme","keywords":["markdown","md","markdown-it","markdown-it-plugin"],"repository":{"url":"git+https://github.com/geekplux/markdown-it-fence.git","type":"git"},"author":{"name":"GeekPlux","email":"geekplux@gmail.com","url":"http://geekplux.com/"},"bugs":{"url":"https://github.com/geekplux/markdown-it-fence/issues"},"license":"MIT","readmeFilename":"README.md"}