Skip to content

frontmatter is not a function #67

Answered by wooorm
shedali asked this question in Q&A
Jun 15, 2021 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Readme and code was recently updated for ESM, which is shipping soon, but not yet released (first want to do some more changes in micromark).
Assuming you can use ESM without problems, then you should be able to for now use:

import frontmatter from 'micromark-extension-frontmatter'

In a couple of days, after updating everything, it would be as what’s now in the readme!

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@wooorm
Comment options

@shedali
Comment options

Answer selected by shedali
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants