tex2typst
Version:
JavaScript library for converting TeX code to Typst
7 lines (6 loc) • 331 B
TypeScript
import type { Tex2TypstOptions } from "./types";
import { symbolMap } from "./map";
import { shorthandMap } from "./typst-shorthands";
export declare function tex2typst(tex: string, options?: Tex2TypstOptions): string;
export declare function typst2tex(typst: string): string;
export { Tex2TypstOptions, symbolMap, shorthandMap };