fs-heroes / fsh-website-comments

0 stars 0 forks source link

code-syntax-highlight-with-prismjs-gatsby #5

Closed utterances-bot closed 2 years ago

utterances-bot commented 2 years ago

How to configure code syntax highlighting with Prismic, Gatsby and PrismJS - Full Stack Heroes

Learn how to create a Prismic Slice to pass markdown to your Gatsby component which you can then highlight with PrismJS

https://fullstackheroes.com//tutorials/prismic/code-syntax-highlight-with-prismjs-gatsby/?utterances=a3ce357f9b94fa6bae70baf3L%2FmFbimwJrTVRswBF1ow3C9yWfc3%2BnPeJodwyOnUZGOJJR9YLteC1SoqBxQuxFoF%2FfDv9KKocI1oA00gwBJlD%2F8Yof3Xjr%2FkFUDl9mV4zxaNz%2BDfsPrHw0o3RG4%3D

davideghz commented 2 years ago

Hi, everything works nicely except showing line numbers; I used the following option without any luck

  options: {
    showLineNumbers: true,
  },
davideghz commented 2 years ago

Hi @kb1995 the issue has not been solved :)

kb1995 commented 2 years ago

@davideghz I moved this blog post to another blog where it doesn't use this comment system - that's why the issue is closed.

This should be a Prism issue and not a Prismic issue so worth investigating if somebody else has had this within Prism's github issues