legal-markdown-js
Version:
Node.js implementation of LegalMarkdown for processing legal documents with markdown and YAML - Complete feature parity with Ruby version
35 lines • 1.01 kB
TypeScript
import { type IStylesOptions } from 'docx';
export interface DocxStylesPreset {
styles: IStylesOptions;
styleIds: {
body: string;
codeBlock: string;
algorithmBlock: string;
blockQuote: string;
confidentialBanner: string;
separatorBanner: string;
tocContainer: string;
inlineCode: string;
importedValue: string;
missingValue: string;
logicHighlight: string;
};
colors: {
primary: string;
text: string;
muted: string;
inverse: string;
};
lists: {
ordered: 'decimal' | 'lowerLetter' | 'upperLetter' | 'lowerRoman' | 'upperRoman';
bullet: 'disc' | 'circle' | 'square' | 'dash';
};
table: {
borderColor: string;
headerFill: string;
headerTextColor: string;
cellFill: string;
};
}
export declare function adaptCssToDocxStyles(cssContent: string): DocxStylesPreset;
//# sourceMappingURL=css-style-adapter.d.ts.map