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:
parent
875a256db9
commit
779775d85a
@ -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 }],
|
||||
],
|
||||
},
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user