diff --git a/src/views/validated-designs/server.ts b/src/views/validated-designs/server.ts index 96d64f84f2..237483a58e 100644 --- a/src/views/validated-designs/server.ts +++ b/src/views/validated-designs/server.ts @@ -19,6 +19,7 @@ import { rewriteStaticHVDAssetsPlugin } from 'lib/remark-plugins/rewrite-static- import grayMatter from 'gray-matter' import { ProductSlug } from 'types/products' import { OutlineLinkItem } from 'components/outline-nav/types' +import { rehypeCodePlugins } from 'lib/rehype-code-plugins' const basePath = '/validated-designs' @@ -233,6 +234,7 @@ export async function getHvdGuidePropsFromSlug( [remarkPluginAnchorLinkData, { anchorLinks }], rewriteStaticHVDAssetsPlugin, ], + rehypePlugins: [...rehypeCodePlugins], }, })