3.7.0 • Published 3 years ago

frontmatter-markdown-loader v3.7.0

Weekly downloads
8,818
License
MIT
Repository
github
Last release
3 years ago

frontmatter-markdown-loader

npm GitHub Workflow Status

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 // FrontMatter attributes => { subject: "Hello", tags: ["tag1", "tag2"] }
fm.html // Compiled markdown as HTML => "<h1>Title</h1>\n<p>message</p>\n"
fm.react // Component function for React which renders compiled markdown (Disabled as default)
fm.vue.component // Extendable component object for Vue which renders compiled markdown (Disabled as default)

📚 See the documentation for the further detail.

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

3.7.0

3 years ago

3.6.3

3 years ago

3.6.2

4 years ago

3.6.2-0

4 years ago

3.6.1

4 years ago

3.6.1-1

4 years ago

3.6.1-0

4 years ago

3.6.0

4 years ago

3.6.0-1

4 years ago

3.6.0-0

4 years ago

3.5.0

5 years ago

3.4.3

5 years ago

3.4.3-0

5 years ago

3.4.2

5 years ago

3.4.1

5 years ago

3.4.0

5 years ago

3.3.0

5 years ago

3.2.1

5 years ago

3.2.0

5 years ago

3.1.0

5 years ago

3.1.0-0

5 years ago

3.0.0

5 years ago

3.0.0-2

5 years ago

3.0.0-1

5 years ago

3.0.0-0

5 years ago

2.3.0

5 years ago

2.3.0-0

5 years ago

2.2.0

5 years ago

2.1.0

5 years ago

2.0.0

5 years ago

2.0.0-1

5 years ago

2.0.0-0

5 years ago

1.8.0

5 years ago

1.7.0

5 years ago

1.6.1

5 years ago

1.6.0

6 years ago

1.5.2

6 years ago

1.5.1

6 years ago

1.5.0

6 years ago

1.4.0

6 years ago

1.4.0-beta.3

6 years ago

1.4.0-beta.2

6 years ago

1.4.0-beta.1

6 years ago

1.3.0

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.2.0-beta.2

6 years ago

1.2.0-beta.1

6 years ago

1.1.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago