1

I'm trying to enable code block syntax highlighting for lisp on my Docusaurus website. I added the following property on my themeConfig:

prism: {
  additionalLanguages: ['lisp'],
}

but it didn't seem to do anything. It also seems that I cannot do any of the fancy code block stuff mentioned in the docs here including adding a title=

Any help would be appreciated thanks!

Matt Hauff
  • 65
  • 7

1 Answers1

0

The issue was with one of my dependencies. I literally copied over the dependencies list from new.docusaurus.io and ran npm i and then my code was highlighting away!

Matt Hauff
  • 65
  • 7