import DOMPurify from "dompurify"; import { marked } from "marked"; /** * Markdown, rendered for the file viewer. * * The source is somebody else's file -- uploaded, or shared into the account * by another user -- so it is treated as hostile. Markdown is not a safe * subset of anything: raw HTML passes straight through it by design, so * `