Skip to content

Interface: ModelInput ​

Defined in: emitters/html/src/index.ts:19

Either a CSS source or an already-parsed model.

Extended by ​

Properties ​

configuration? ​

ts
optional configuration?: CssDocConfiguration;

Defined in: emitters/html/src/index.ts:22


css? ​

ts
optional css?: string | string[];

Defined in: emitters/html/src/index.ts:20


dialect? ​

ts
optional dialect?: CssDialect;

Defined in: emitters/html/src/index.ts:26

The stylesheet dialect of css (scss/less pick a dialect parser). Default css.


entries? ​

ts
optional entries?: CssDocEntry[];

Defined in: emitters/html/src/index.ts:21


lang? ​

ts
optional lang?: "css" | "html" | "js" | "markdown";

Defined in: emitters/html/src/index.ts:24

The host language css is written in. Non-css values extract embedded CSS first. Default css.

Released under the MIT License