binyamin / eleventy-garden

:seedling: A starter site for building a mind garden with eleventy
https://eleventy-garden.netlify.app
MIT License
451 stars 48 forks source link

Syntax highlight prism #81

Closed erwinlauener closed 2 years ago

erwinlauener commented 2 years ago

I can't implement eleventy's syntax highlight 'prism' into the .eleventy.js file without bugs. Help is needed. πŸ™πŸ»

binyamin commented 2 years ago

What bugs are you seeing?

erwinlauener commented 2 years ago

Hi Aron

Error: EleventyConfig.addPlugin expects the first argument to be a function.

I tried to correct the .eleventy.js, but another errors appeared. Im on an old MacOS (10.11.6) Maybe the installation of the syntax highlight plugin isn’t as it should be… However, thanks for your answer

Erwin

Am 29.04.2022 um 00:30 schrieb Binyamin Aron Green @.***>:

What bugs are you seeing?

β€” Reply to this email directly, view it on GitHub https://github.com/binyamin/eleventy-garden/issues/81#issuecomment-1112713240, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD4XSBLMKFNGDDSQTHECAULVHMGRNANCNFSM5URZZRGQ. You are receiving this because you authored the thread.

binyamin commented 2 years ago

@erwinlauener I'm closing this issue, since it's not related to the template itself.

I recommend asking on Eleventy's discord server or opening a discussion on the main repo's GitHub discussions.