mirror of
https://github.com/borbann-platform/end-of-semester-report.git
synced 2025-12-19 22:44:03 +01:00
13 lines
728 B
TypeScript
13 lines
728 B
TypeScript
import * as Ast from "@unified-latex/unified-latex-types";
|
|
/**
|
|
* Clean up any whitespace issues in an enumerate environment. In particular,
|
|
* * Remove any leading or ending whitespace
|
|
* * Ensure there is a par between occurrences of `\item`
|
|
* * Ensure there is whitespace after each occurrence of `\item` provided there is content there
|
|
* `itemName` can be used to set what the "item" macro is called.
|
|
*
|
|
* This function attaches content following a `\item` to the `\item` macro with
|
|
* `openMark` and `closeMark` set to empty. This allows hanging-indents to be rendered.
|
|
*/
|
|
export declare function cleanEnumerateBody(ast: Ast.Node[], itemName?: string): Ast.Node[];
|
|
//# sourceMappingURL=enumerate.d.ts.map
|