{"_id":"@comsoc/gatsby-mdast-copy-linked-files","_rev":"2-588f148e46c394b771c1ebe6c0e7ad40","name":"@comsoc/gatsby-mdast-copy-linked-files","description":"Find files which are linked to from markdown and copy them to the public directory","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.0":{"name":"@comsoc/gatsby-mdast-copy-linked-files","description":"Find files which are linked to from markdown and copy them to the public directory","version":"0.1.0","author":{"name":"via Kyle Mathews","email":"mathews.kyle@gmail.com"},"dependencies":{"fs-extra":"^3.0.1","is-relative-url":"^2.0.0","lodash":"^4.17.4","unist-util-visit":"^1.1.1"},"devDependencies":{"babel-cli":"^6.24.1"},"keywords":["gatsby","gatsby-plugin","prismjs","remark"],"license":"MIT","main":"index.js","scripts":{"build":"babel src --out-dir .","prepare":"babel src --out-dir .","watch":"babel -w src --out-dir ."},"_id":"@comsoc/gatsby-mdast-copy-linked-files@0.1.0","_npmVersion":"5.0.3","_nodeVersion":"8.1.1","_npmUser":{"name":"brudil","email":"james@jamescanning.com"},"dist":{"integrity":"sha512-weu7dgVHeNu0GenwJAwGyfX64N9y5TTIoOygNUmg9wROdhATmIvRb+qqUo5u3tRIVjlKadL24LEBuN0ee9+9ng==","shasum":"2fb09ce554accf19d17bbf364a4dfd22c19dc764","tarball":"https://registry.npmjs.org/@comsoc/gatsby-mdast-copy-linked-files/-/gatsby-mdast-copy-linked-files-0.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG0cTWCYIMTKSdAZmZ5IvyLHJMxJ3Iw3C64ND4sBNvHoAiA1q0ULU5iuEyiekSmiOVSybkdTad3kXRE6YyFhLUAAvQ=="}]},"maintainers":[{"name":"brudil","email":"james@jamescanning.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gatsby-mdast-copy-linked-files-0.1.0.tgz_1500149546103_0.7484245942905545"}},"0.2.0":{"name":"@comsoc/gatsby-mdast-copy-linked-files","description":"Find files which are linked to from markdown and copy them to the public directory","version":"0.2.0","author":{"name":"via Kyle Mathews","email":"mathews.kyle@gmail.com"},"dependencies":{"fs-extra":"^3.0.1","image-size":"^0.6.0","is-relative-url":"^2.0.0","lodash":"^4.17.4","unist-util-visit":"^1.1.1"},"devDependencies":{"babel-cli":"^6.24.1"},"keywords":["gatsby","gatsby-plugin","prismjs","remark"],"license":"MIT","main":"index.js","scripts":{"build":"babel src --out-dir .","prepare":"babel src --out-dir .","watch":"babel -w src --out-dir ."},"_id":"@comsoc/gatsby-mdast-copy-linked-files@0.2.0","_npmVersion":"5.0.3","_nodeVersion":"8.1.1","_npmUser":{"name":"brudil","email":"james@jamescanning.com"},"dist":{"integrity":"sha512-3xakr2JcCnRk4a5TZWPx6fjRmlTs6hP79pWkHbjSy0Ol7coV2oiaohhw3gYAoIVCocXU4vvdbtseIhODqJYlbw==","shasum":"f85fe80da70b79d07b6f8c2e96290b14626c7413","tarball":"https://registry.npmjs.org/@comsoc/gatsby-mdast-copy-linked-files/-/gatsby-mdast-copy-linked-files-0.2.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEHHyi+HQmdpkAXjGuYgIZbJ3WthnlxBBF1GAQTwQDIqAiA7j0zpWUrh33yFQj5jb7zLPtCBQXvXZ8dqowTRwJZ1Dw=="}]},"maintainers":[{"name":"brudil","email":"james@jamescanning.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gatsby-mdast-copy-linked-files-0.2.0.tgz_1500212746274_0.6850588810630143"}}},"readme":"# gatsby-remark-copy-linked-files\n\nCopies files linked to from markdown to your `public` folder.\n\n## Install\n\n`npm install --save gatsby-remark-copy-linked-files`\n\n## How to use\n\n```javascript\n// In your gatsby-config.js\nplugins: [\n  {\n    resolve: `gatsby-transformer-remark`,\n    options: {\n      plugins: [\n        `gatsby-remark-copy-linked-files`,\n      ]\n    }\n  }\n]\n```\n\nThen in your Markdown files, simply link to the file you desire to\nreference.\n\nE.g.\n\n```markdown\n\n---\ntitle: My awesome blog post\n---\n\nHey everyone, I just made a sweet PDF with lots of interesting stuff in\nit.\n\n[Download it now](my-awesome-pdf.pdf)\n```\n\n`my-awesome-pdf.pdf` should be in the same directory as the markdown\nfile. When you build your site, the file will be copied to the `public`\nfolder and the markdown HTML will be modified to point to it.\n","maintainers":[{"name":"brudil","email":"james@jamescanning.com"}],"time":{"modified":"2022-04-05T00:43:24.842Z","created":"2017-07-15T20:12:27.077Z","0.1.0":"2017-07-15T20:12:27.077Z","0.2.0":"2017-07-16T13:45:47.284Z"},"keywords":["gatsby","gatsby-plugin","prismjs","remark"],"author":{"name":"via Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","readmeFilename":"README.md"}