Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Gatsby doesn't offer a syntax highlighter out of the box. It has markdown (and MDX) components that generate pages, and those in turn can have syntax highlighting plugins. AFAICT prismjs indeed is the predominant one used by Gatsby sites (at least, in mine). But thanks to SSR prismjs will typically run at compile time.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: