{"name":"gatsby-remark-embed-markdown","license":"Apache-2.0","version":"0.0.2","keywords":["markdown","embed","gatsby","gatsby-plugin","remark"],"description":"Gatsby plugin to embed markdown fragments within markdown","devDependencies":{"@babel/cli":"^7.0.0","@babel/core":"^7.0.0","babel-preset-gatsby-package":"^0.1.3","cross-env":"^5.1.4","jest":"^21.2.1","react":"^16.6.3"},"dependencies":{"@babel/runtime":"^7.0.0","normalize-path":"^2.1.1","parse-numeric-range":"^0.0.2","unist-util-map":"^1.0.3","unist-util-visit":"^1.4.0","unified":"^6.1.5","remark-html":"^9.0.0","remark-parse":"^5.0.0"},"scripts":{"test":"jest"},"peerDependencies":{"gatsby":">2.0.0-alpha"},"main":"index.js","gitHead":"ae572799a3d4e1195ec3299e6e5e2843d7f8e83c","_id":"gatsby-remark-embed-markdown@0.0.2","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"jtstodola","email":"jtstodola@gmail.com"},"dist":{"integrity":"sha512-t0myTORVPkhN1jWupq9lWmiPbvFxOxueZBs7eDUx1rlKaE3C3WD0ConoG8VkVEPIKz/6wJMa8Q/0zWbjG2jfQQ==","shasum":"f082ff08845157753cd8e9f01e3b6f45ed614a2a","tarball":"http://registry-npm.ywwl.com/gatsby-remark-embed-markdown/download/gatsby-remark-embed-markdown-0.0.2.tgz","fileCount":5,"unpackedSize":16124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJciR2bCRA9TVsSAnZWagAAa+kP/3W5Sj57VYpmMekSCAsR\nyLWGm7+AE7CuIZY2cimFQnV9mNixb114Gdc/4Rr0gkdS6zpt3EWszcgdVmAO\nD1REYroVWf5AaNroDx79Sv/0kcv4r+72p6eNErTugiRaPWYCI2aZ9WD6ORxM\nioWGA0zUzfvd2gqsxPaqfkhuJlgmbeilEZ4RORusCIq+ZQ4zcEFNIF6AhI0J\nWZOPeMBn6BpTscO4Se/jMgKuS6cSFfb+5zdESmTQmH8JVtzcI1Y8HT/OCFe7\nbFh2qL45nz2jfHVXPg5oDg19cYMxFLdkYKQDg+4jX4ZI8gUbEFtJquFfPrn7\nqbjorOIwFoAdB5BXlWfiTZmFngV9YnAm84belNAJcBKotQjV0AV0Bm79Xfoi\na6KSmASeirPOxyDbCzD24mxgDp2CY6T2oz699UgBzj78TF2W/fT4huqkgNA2\nNaA04cXU0r2FBfGAvGuZdnd8MGYnAYdq1+0mUZV3zkX/mugJXA5929kSH4aa\nfpQIc2qn9IvL17gegYblEVsnUSFSy+xzq/V9iGpfpdTfnzeer3cNfPQskcwP\njklK31Rik/7uf+h89swZX5EVDtlthI19GN4OnM3NZAVtsQbxTxSWbaPD2jib\nVMlAZDGkatc+lcOx02UgCUo2BrNp7TfpNdoPeASXWwCmFPURS2VlNFXn8mWO\n3thS\r\n=keD3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDqKYDWKgGkhQewNOU1zrH6dn/tkDR9h8Oe2qJV+w0m8QIhAP5vCJGAXjyrsQP29WUIR5LSsH/phOfMWbTCbp3H4jjg"}],"size":6046,"noattachment":false,"key":"/gatsby-remark-embed-markdown/-/gatsby-remark-embed-markdown-0.0.2.tgz"},"maintainers":[{"name":"jtstodola","email":"jtstodola@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gatsby-remark-embed-markdown_0.0.2_1552489883027_0.1850513034785719"},"_hasShrinkwrap":false,"readme":"# gatsby-remark-embed-markdown\n\nEmbeds the content of a specified markdown file as HTML within another markdown file.\n\n## Overview\n\n### Embedding Files\n\nFor example, given the following project directory structure:\n\n```\n./examples/\n├── sample-markdown-file.md\n```\n\nExample of contents in `/examples/sample-markdown-file.md`:\n```md\n## This is an example of an embedded markdown fragment.\n\n```\n\n\nThe following markdown syntax is used to embed the contents of these files:\n\n```md\n# Sample Markdown\n\n`markdown:sample-markdown-file.md`\n\n```\n\nThe resulting HTML for the above markdown would look something like this:\n\n```html\n<h1>Sample Markdown</h1>\n<div class=\"markdown-fragment\">\n  <h2>This is an example of an embedded markdown fragment.</h2>\n</div>\n```\n\n## Installation\n\n`npm install --save gatsby-remark-embed-markdown`\n\n## How to use\n\n```js\n// In your gatsby-config.js\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-transformer-remark`,\n      options: {\n        plugins: [\n          {\n            resolve: \"gatsby-remark-embed-markdown\",\n            options: {\n              // Example code links are relative to this dir.\n              // eg examples/path/to/file.js\n              directory: `${__dirname}/examples/`,\n            }\n          }\n        ]\n      }\n    }\n  ]\n}\n```\n\n\nIf you are looking to embed markdown in a code block, look into the [gatsby-remark-embed-snippet](https://www.gatsbyjs.org/packages/gatsby-remark-embed-snippet) plugin.\n","publish_time":1552489883205,"_cnpm_publish_time":1552489883205,"dist-tags":{"latest":"0.0.4"}}