bolt.new/packages/bolt/app/utils/markdown.ts
2024-07-11 16:20:57 +02:00

7 lines
251 B
TypeScript

import rehypeRaw from 'rehype-raw';
import remarkGfm from 'remark-gfm';
import type { PluggableList } from 'unified';
export const remarkPlugins = [remarkGfm] satisfies PluggableList;
export const rehypePlugins = [rehypeRaw] satisfies PluggableList;