-
testing out micromark-extension-frontmatter, following the readme on the repo When I first run it, I get the error:
Repro here: https://stackblitz.com/edit/node-rp4sym?file=index.js |
Beta Was this translation helpful? Give feedback.
Answered by
wooorm
Jun 15, 2021
Replies: 1 comment 2 replies
-
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). import frontmatter from 'micromark-extension-frontmatter' In a couple of days, after updating everything, it would be as what’s now in the readme! |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
shedali
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
In a couple of days, after updating everything, it would be as what’s now in the readme!