import { setup, previewSVG, previewGLSL, previewPlantUML, previewTikZ } from "https://raw.githubusercontent.com/takker99/ScrapRun/0.3.1/mod.ts"; setup({ previewers: [ { when: /(?:^|\.)svg$/, preview: previewSVG }, { when: /(?:^|\.)glsl$/, preview: previewGLSL }, { when: /(?:^|\.)(?:plantuml|puml|pu)$/, preview: previewPlantUML }, { when: /(?:^|\.)tikz\(tex\)$/, preview: previewTikZ(WORKER_URL, ASSETS_URL) }, ]});