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 Usage as a remark plugin without Gatsby example code #229

Closed aral closed 6 months ago

aral commented 6 months ago

The example in the Usage as a remark plugin without Gatsby section does not compile as is:

I also added the npm install line required and a suggestion of the file name to use (including .mjs extension) to make it easier to follow and avoid possible trip-ups.