TeaWeb/shared/js/text/bbcode/renderer.ts
2020-12-21 20:07:09 +01:00

13 lines
No EOL
427 B
TypeScript

import TextRenderer from "vendor/xbbcode/renderer/text";
import ReactRenderer from "vendor/xbbcode/renderer/react";
import HTMLRenderer from "vendor/xbbcode/renderer/html";
export const rendererText = new TextRenderer();
export const rendererReact = new ReactRenderer();
export const rendererHTML = new HTMLRenderer(rendererReact);
import "./emoji";
import "./highlight";
import "./youtube";
import "./url";
import "./image";