moderator-toolbox-nxg-for-reddit / modules/syntax/settings

modules/syntax/settings

Type Aliases

SyntaxSettings

SyntaxSettings = InferSettings<typeof settings>

Defined in: extension/data/modules/syntax/settings.ts:39

Inferred settings type for the Syntax Highlighter module.

Variables

settings

const settings: readonly [{ default: true; description: "Enable word wrap in editor"; id: "enableWordWrap"; sharedPolicy: "raw"; type: "boolean"; }, { default: { automoderator-schedule: "yaml"; config/automoderator: "yaml"; config/stylesheet: "css"; toolbox: "json"; }; description: "In addition to the CSS, the following wiki pages get the specified code formatting. Language is one of css, json, markdown, or yaml"; id: "wikiPages"; labels: ["page", "language"]; sharedPolicy: "raw"; type: "map"; }, { default: "dracula"; description: "Syntax highlight theme selection"; id: "selectedTheme"; sharedPolicy: "raw"; type: "syntaxTheme"; }]

Defined in: extension/data/modules/syntax/settings.ts:5