0.1.0 • Published 1 year ago
gatsby-remark-deepembed-markdown v0.1.0
Overview
Fork from gatsby-remark-embed-markdownhttps://github.com/jtstodola/gatsby-remark-embed-markdown, Embeds the content of a specified markdown file within another markdown file.Add two new feature:
- Support for deep embed
- Base on markdownAst
How to use
// In your gatsby-config.js
module.exports = {
plugins: [
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
{
resolve: "gatsby-remark-deepembed-markdown",
options: {
// Example code links are relative to this dir.
// eg examples/path/to/file.js
directory: `${__dirname}/examples/`,
},
},
],
},
},
],
};
# Sample Markdown
Below is the embedded content
<!-- `markdown:sample-markdown-file.md` -->
0.1.0
1 year ago