frontmatter-markdown-loader
Webpack Loader for Front Matter files (.md) which returns:
This FrontMatter markdown file something.md
:
---
subject: Hello
tags:
- tag1
- tag2
---
# Title
message
is loadable as:
import fm from "something.md"
fm.attributes
fm.html
fm.react
fm.vue.component
📚 See the documentation for the further detail.
🔰 You have trouble with missing object?
The loader got the breaking changes in the latest major update. The article which you referred might premise on the old version. Check the installed version, if that says 1.x.y
, see this guide.
Samples
Inspired/Referred
License