MCPcopy
hub / github.com/ether/etherpad / InlineState

Interface InlineState

src/node/utils/ExportPdfNative.ts:8–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6const PDFDocument = require('pdfkit');
7
8interface InlineState {
9 bold: boolean;
10 italic: boolean;
11 underline: boolean;
12 strike: boolean;
13 link?: string;
14 fontSize?: number;
15 align?: 'left' | 'center' | 'right' | 'justify';
16 mono?: boolean;
17}
18
19const parseAlign = (style: string | undefined): InlineState['align'] | undefined => {
20 if (!style) return undefined;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected