DavidCouronne / gridsome-plugin-remark-prismjs-all

Syntax highlighting for Gridsome with PrismJS
https://kind-elion-23889d.netlify.com/demo-gridsome-plugin-remark-prismjs-all/
MIT License
12 stars 1 forks source link

Seemingly unable to use with remark-code-import #21

Open jthomerson opened 3 years ago

jthomerson commented 3 years ago

Sorry this is more a user question than an actual issue ... do you know if it's possible to use this with the remark-code-import plugin? I like to keep my code examples separate from my MD files because then I can lint them, can reuse them in multiple code blocks, etc. It would be a-maz-ing to be able to pull in specific line numbers from the external file and then highlight specific line numbers using this plugin.

jthomerson commented 3 years ago

Sorry, hit submit too soon. This is the error I get when I try using the other plugin:

unable to find prism language 'jsfile=./example.js' for highlighting. applying generic code block