import rehypeRaw from 'rehype-raw'; import rehypeSanitize from 'rehype-sanitize'; // Parse embedded HTML before sanitizing, including HTML pasted from other editors. export const markdownSecurityPlugins = [rehypeRaw, rehypeSanitize];