
Security News
OWASP 2025 Top 10 Adds Software Supply Chain Failures, Ranked Top Community Concern
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.
blog-loader
Advanced tools
blog-loaderCreate a simple blog from markdown files with Webpack!
blog-loader is a Webpack loader that imports markdown files with yaml-frontmatter, and
returns formatted HTML and meta data from the frontmatter.
Add the webpack loader:
{
test: /blog\/.*md/,
loader: "blog-loader",
query: {
// Required keys in the frontmatter
required: [ 'author', 'category', 'date', 'title'],
// Where to save the markdown files, if at all.
name: 'blog/[name].[ext]'
}
},
And start writing markdown files:
---
Author: Assertible
Title: "`blog-loader` for Webpack"
Category: Cool stuff
Date: 2018-09-14
---
This is getting recursive.
Then import them:
import blogPost from './blogPost.md'
console.log(blogPost)
=> { title: ..., author: ..., category: ..., date: ..., content: "This is getting recursive." }
That's it!
The code in this repository is licensed under MIT. View the license
assertible.com · GitHub @assertible · Twitter @AssertibleApp
FAQs
A webpack loader to render markdown files to HTML for a blog!
We found that blog-loader 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.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.