reiji-h 2 лет назад
Родитель
Сommit
86d289f205

+ 4 - 0
apps/app/src/features/frontmatter-hider/services/frontmatter-hider.ts

@@ -20,6 +20,10 @@ export const remarkPlugin: Plugin = function() {
   };
 };
 
+export const rehypePlugin: Plugin = function() {
+  return;
+};
+
 export const sanitizeOption: SanitizeOption = {
   tagNames: ['frontmatter'],
 };

+ 1 - 1
apps/app/src/features/frontmatter-hider/services/index.ts

@@ -1 +1 @@
-export { remarkPlugin, sanitizeOption } from './frontmatter-hider';
+export { remarkPlugin, rehypePlugin, sanitizeOption } from './frontmatter-hider';