
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
metalsmith-include-content
Advanced tools
A Metalsmith plugin that allows content to be included (nested) within other content by including the file path in the document.
A Metalsmith plugin that allows content to be included (nested) within other content by including the file path in the document.
Continuous testing courtesy of travis-ci:
This package can be installed through npm:
npm install metalsmith-include-content
If you are using the JS api for Metalsmith, then you can require the module and add it to your .use() directives:
var include = require('metalsmith-include-content');
Metalsmith()
.use(include())
.build(function(err) {
});
If you are using the command-line version of Metalsmith, you can install via npm, and then add the metalsmith-include-content key to your metalsmith.json file:
{
"plugins": {
"metalsmith-include-content": {
"pattern": "^include (.*)",
"ignoreMissing": false
}
}
}
The plugin allows you to override the default behaviour by passing in options.
pattern is the regular expression pattern that is used for finding includesignoreMissing allows you to show or hide warnings if the include file does not existPlease see CONTRIBUTING for details.
The MIT License (MIT). Please see License File for more information.
FAQs
A Metalsmith plugin that allows content to be included (nested) within other content by including the file path in the document.
We found that metalsmith-include-content demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.