mirror of
https://github.com/borbann-platform/end-of-semester-report.git
synced 2025-12-20 06:44:05 +01:00
13 lines
407 B
TypeScript
13 lines
407 B
TypeScript
import * as Prettier from "prettier/standalone";
|
|
/**
|
|
* Format `source` LaTeX code using Prettier to format/render
|
|
* the code.
|
|
*
|
|
* @export
|
|
* @param [source=""] - code to be formatted
|
|
* @param [options={}] - Prettier options object (you can set `printWidth` here)
|
|
* @returns formatted code
|
|
*/
|
|
export declare function printPrettier(source?: string, options?: {}): Promise<string>;
|
|
export { Prettier };
|