andrewbranch / gatsby-remark-vscode

Gatsby plugin to provide VS Code’s syntax highlighting to Markdown code fences
MIT License
296 stars 27 forks source link

Fix without Gatsby example #176

Open wesbos opened 2 years ago

wesbos commented 2 years ago

A few things:

  1. Unified must use ESM, it threw an error with require()
  2. the backticks must be escaped to parse properly
  3. the remark-parse package was incorrectly linked