myst-to-typst
Version:
Export from MyST mdast to Typst
17 lines • 579 B
TypeScript
import type { Handler, MathPlugins } from './types.js';
/**
* MyST typst exports currently require recursive commands to be resolved
*
* As opposed to tex where recursive commands can remain and the latex compiler
* will handle them.
*
* All the state.options.math macros are passed to this function and resolved prior to
* exporting typst.
*/
export declare function resolveRecursiveCommands(plugins: MathPlugins): MathPlugins;
declare const MATH_HANDLERS: {
math: Handler;
inlineMath: Handler;
};
export default MATH_HANDLERS;
//# sourceMappingURL=math.d.ts.map