Plugins
I have build several plugins that are available to the community on my GitHub repo or via npm. I also try to contribute to existing plugins.
Enables the reuse of markdown partials. These partials are inserted into the contents of a markdown file by replacing an include marker. This allows for modular markdown and promotes reuse of content.
Adds the following lists to the metadata. This makes this data accessible to all pages and may be used to create widgets that promote featured and/or latest blogposts. This plugin requires all blogposts to be located in blog/
of the content directory.
- All Blogs
- Recent Blogs
- Featured Blogs
- Annualized Blogs List
Reformats links, strips the protocal and host name from local links and adds a target and rel attribute to external links. As markdown syntax only allows for alt and title attributes in links, content editors normally must use HTML to add other attributes. This plugin negates the use of HTML for links in a markdown document.
Syntax highlighting for Metalsmith HTML templates using Prism.js.
This plugin was authored by Robert McGuinness and sponsored by Availity. I assumed maintenance in March 2022.
Copies a directory from the source folder to the build folder. Since metalsmith-assets is deprecated and the repo is archived, I needed an up-to-date plugin.