gatsby-example-using-remark

Copying Linked Files and Intercepting Local Links

1 min read · tagged remark, linked files, local links

Contents

denys nevozhai 184452 Photo by Denys Nevozhai via Unsplash

Copying Linked Files

gatsby-remark-copy-linked-files copies files linked to from Markdown to your public folder.

Let’s try with a PDF, that you should be able to preview and/or download by clicking this link: Creative Commons Informational Flyer.pdf

gatsby-plugin-catch-links intercepts local links from Markdown and other non-react pages and does a client-side pushState to avoid the browser having to refresh the page.

Let’s try linking to the ”Code and Syntax Highlighting with PrismJS” article…


Avatar of Daisy BuchananDaisy Buchanan is an attractive, if shallow and self-absorbed, young woman.

powered by @gatsbyjs