import { marked, Renderer } from 'marked'; const WIKI_LINK = /\[\[([^\]|\n]+?)(?:\|([^\]\n]+?))?\]\]/g; const UNSAFE_SCHEME = /^(?:javascript|data|vbscript):/i; export function normalizeImportedMarkup(source: string): string { return source.replace(/