My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

gatsby-remark-prismjs: Line Numbering Not Working

Sourabh Lonikar's photo
Sourabh Lonikar
·Aug 25, 2021·

1 min read

I have installed gatsby-remark-prismjs plugin in my Gatsby-Netlify-GitHub repo for line numbering feature. But Line Numbering is not working. Is there anything I am configuring wrong?

I followed official plugin guide as well as reference blog yet nothing works even though repo gets deployed live successfully. Please help on this as I think some similar issue is affecting gatsby-remark-code-buttons plugin from working too.

The only error encountered while deploying in Netlify: Your plugins must export known APIs from their gatsby-node.js.

Line Number Plugin: gatsby-remark-prismjs

Sample Reference Example GitHub Repo: github.com/wbonneville/gatsby_blog/blob/mas..

Above Repo’s Gatsby Blogpost: wesleysblog.netlify.app/post-one

My GitHub Link: GitHub - github.com/sourabhapisero/gatsby-starter-ne..

Current Code Sample Block Image