1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-26 04:45:22 -04:00

fix remark errors by completely ignoring them so plugins can finally be bumped

This commit is contained in:
Jake Jarvis 2024-01-09 13:47:19 -05:00
parent 875a256db9
commit 779775d85a
Signed by: jake
GPG Key ID: 2B0C9CF251E69A39

View File

@ -16,8 +16,10 @@ export const compileNote = async (slug: string): Promise<NoteWithSource> => {
parseFrontmatter: false,
mdxOptions: {
remarkPlugins: [
// @ts-ignore
[remarkGfm, { singleTilde: false }],
[
// @ts-ignore
remarkSmartypants,
{
quotes: true,
@ -26,9 +28,15 @@ export const compileNote = async (slug: string): Promise<NoteWithSource> => {
ellipses: false,
},
],
// @ts-ignore
[remarkUnwrapImages],
],
rehypePlugins: [[rehypeSlug], [rehypePrism, { ignoreMissing: true }]],
rehypePlugins: [
// @ts-ignore
[rehypeSlug],
// @ts-ignore
[rehypePrism, { ignoreMissing: true }],
],
},
});