Skip to main content
Module

x/gfm/deps.ts>katex

Server-side GitHub Flavored Markdown rendering for Deno
Go to Latest
class katex
import { katex } from "https://deno.land/x/gfm@0.2.2/deps.ts";

Static Properties

ParseError: ParseError

KaTeX error, usually during parsing.

Static Methods

render(
tex: string,
element: HTMLElement,
options?: KatexOptions,
): void

Renders a TeX expression into the specified DOM element

renderToString(tex: string, options?: KatexOptions): string

Renders a TeX expression into an HTML string