Skip to main content

Interface: Config

Hierarchy

Properties

activeEditor

activeEditor: undefined | EditorId

Inherited from

ContentConfig.activeEditor

Defined in

models.ts:77


allowLangChange

allowLangChange: boolean

Inherited from

AppConfig.allowLangChange

Defined in

models.ts:95


autosave

autosave: boolean

Inherited from

UserConfig.autosave

Defined in

models.ts:107


autotest

autotest: boolean

Inherited from

UserConfig.autotest

Defined in

models.ts:108


autoupdate

autoupdate: boolean

Inherited from

UserConfig.autoupdate

Defined in

models.ts:106


closeBrackets

closeBrackets: boolean

Inherited from

UserConfig.closeBrackets

Defined in

models.ts:127


cssPreset

cssPreset: CssPresetId

Inherited from

ContentConfig.cssPreset

Defined in

models.ts:84


customSettings

customSettings: Partial<{ Binary: any ; C: any ; adoc: any ; art: any ; art-template: any ; as: any ; asc: any ; asciidoc: any ; assemblyscript: any ; astro: any ; autoprefixer: any ; babel: any ; bb: any ; bbcode: any ; blockly: any ; blockly.xml: any ; c: any ; c++: any ; civet: any ; clang: any ; clang.cpp: any ; clio: any ; clj: any ; cljc: any ; cljs: any ; clojure: any ; clojurescript: any ; coffee: any ; coffeescript: any ; common-lisp: any ; commonlisp: any ; cp: any ; cpp: any ; cpp-wasm: any ; cppm: any ; cppwasm: any ; csharp: any ; css: any ; cssmodules: any ; cssnano: any ; cwasm: any ; cxx: any ; diagram: any ; diagrams: any ; dot: any ; edn: any ; ejs: any ; es: any ; eta: any ; fennel: any ; flow: any ; fnl: any ; gleam: any ; go: any ; golang: any ; graph: any ; h: any ; haml: any ; handlebars: any ; hbs: any ; hpp: any ; htm: any ; html: any ; ii: any ; imba: any ; ixx: any ; jade: any ; javascript: any ; jl: any ; js: any ; json: any ; jsx: any ; julia: any ; less: any ; lightningcss: any ; liquid: any ; liquidjs: any ; lisp: any ; livescript: any ; ls: any ; lua: any ; lua-wasm: any ; luawasm: any ; malina: any ; malinajs: any ; markdown: any ; md: any ; mdown: any ; mdx: any ; mjml: any ; mkdn: any ; ml: any ; mli: any ; mustache: any ; njk: any ; nunjucks: any ; ocaml: any ; perl: any ; pg: any ; pg.sql: any ; pglite: any ; pglite.sql: any ; pgsql: any ; pgsql.sql: any ; php: any ; php-wasm: any ; phpwasm: any ; pintora: any ; pl: any ; plt: any ; pm: any ; postcss: any ; postcssImportUrl: any ; postcssPresetEnv: any ; postgre.sql: any ; postgres: any ; postgresql: any ; postgresql.sql: any ; prolog: any ; prolog.pl: any ; pug: any ; purgecss: any ; py: any ; py-wasm: any ; py3: any ; pyodide: any ; python: any ; python-wasm: any ; pythonwasm: any ; pywasm: any ; r: any ; r-wasm: any ; rb: any ; re: any ; react-native: any ; react-native-tsx: any ; react-native.jsx: any ; react-native.tsx: any ; reason: any ; rei: any ; res: any ; rescript: any ; resi: any ; rich: any ; richtext: any ; riot: any ; riotjs: any ; rlang: any ; rstats: any ; rte: any ; rte.html: any ; ruby: any ; ruby-wasm: any ; rubywasm: any ; sass: any ; scheme: any ; scm: any ; scss: any ; solid: any ; solid.jsx: any ; solid.tsx: any ; sql: any ; sqlite: any ; sqlite3: any ; stencil: any ; stencil.tsx: any ; styl: any ; stylis: any ; stylus: any ; sucrase: any ; svelte: any ; tailwindcss: any ; tcl: any ; teal: any ; tl: any ; tokencss: any ; ts: any ; tsx: any ; twig: any ; typescript: any ; unocss: any ; vue: any ; vue2: any ; vue3: any ; wasm: any ; wasm.cpp: any ; wasm.lua: any ; wasm.php: any ; wasm.py: any ; wasm.rb: any ; wast: any ; wat: any ; webassembly: any ; windicss: any ; xht: any ; xml: any } & { convertCommonjs: boolean ; defaultCDN: CDN ; imports: Record<string, string> ; mapImports: boolean ; scriptType: undefined | "" | "module" | "text/liquid" | "text/python" | "text/r" | "text/ruby-wasm" | "text/x-uniter-php" | "text/php-wasm" | "text/cpp" | "text/perl" | "text/julia" | "text/biwascheme" | "text/commonlisp" | "text/tcl" | "text/prolog" | "application/json" | "application/lua" | "text/fennel" | "application/wasm-uint8" | "application/javascript" | "application/ecmascript" | "text/javascript" | "text/ecmascript" ; template: { data?: any ; prerender?: boolean } ; types: Types }>

Inherited from

ContentConfig.customSettings

Defined in

models.ts:86


delay

delay: number

Inherited from

UserConfig.delay

Defined in

models.ts:109


description

description: string

Inherited from

ContentConfig.description

Defined in

models.ts:73


editor

editor: undefined | "monaco" | "codemirror" | "codejar"

Inherited from

UserConfig.editor

Defined in

models.ts:118


editorMode

editorMode: undefined | "vim" | "emacs"

Inherited from

UserConfig.editorMode

Defined in

models.ts:129


editorTheme

editorTheme: undefined | string | EditorTheme[]

Inherited from

UserConfig.editorTheme

Defined in

models.ts:120


emmet

emmet: boolean

Inherited from

UserConfig.emmet

Defined in

models.ts:128


enableAI

enableAI: boolean

Inherited from

UserConfig.enableAI

Defined in

models.ts:130


fontFamily

fontFamily: undefined | string

Inherited from

UserConfig.fontFamily

Defined in

models.ts:121


fontSize

fontSize: undefined | number

Inherited from

UserConfig.fontSize

Defined in

models.ts:122


formatOnsave

formatOnsave: boolean

Inherited from

UserConfig.formatOnsave

Defined in

models.ts:110


head: string

Inherited from

ContentConfig.head

Defined in

models.ts:74


htmlAttrs

htmlAttrs: string | Record<string, string>

Inherited from

ContentConfig.htmlAttrs

Defined in

models.ts:75


imports

imports: Object

Index signature

[key: string]: string

Inherited from

ContentConfig.imports

Defined in

models.ts:87


languages

languages: undefined | ("reason" | "stylus" | "r" | "html" | "ruby" | "rb" | "json" | "htm" | "markdown" | "md" | "mdown" | "mkdn" | "mdx" | "astro" | "pug" | "jade" | "haml" | "asciidoc" | "adoc" | "asc" | "mustache" | "handlebars" | "hbs" | "ejs" | "eta" | "nunjucks" | "njk" | "liquid" | "liquidjs" | "dot" | "twig" | "art-template" | "art" | "bbcode" | "bb" | "mjml" | "diagrams" | "diagram" | "graph" | "plt" | "richtext" | "rte" | "rich" | "rte.html" | "css" | "scss" | "sass" | "less" | "styl" | "stylis" | "postcss" | "javascript" | "js" | "babel" | "es" | "sucrase" | "typescript" | "flow" | "ts" | "jsx" | "tsx" | "react-native" | "react-native.jsx" | "react-native-tsx" | "react-native.tsx" | "vue" | "vue3" | "vue2" | "svelte" | "stencil" | "stencil.tsx" | "solid" | "solid.jsx" | "solid.tsx" | "riot" | "riotjs" | "malina" | "malinajs" | "xht" | "coffeescript" | "coffee" | "livescript" | "ls" | "civet" | "clio" | "imba" | "assemblyscript" | "as" | "python" | "py" | "pyodide" | "python-wasm" | "py-wasm" | "pythonwasm" | "pywasm" | "py3" | "wasm.py" | "rlang" | "rstats" | "r-wasm" | "ruby-wasm" | "wasm.rb" | "rubywasm" | "go" | "golang" | "php" | "php-wasm" | "phpwasm" | "wasm.php" | "cpp" | "c" | "C" | "cp" | "cxx" | "c++" | "cppm" | "ixx" | "ii" | "hpp" | "h" | "cpp-wasm" | "cppwasm" | "cwasm" | "wasm.cpp" | "clang" | "clang.cpp" | "perl" | "pl" | "pm" | "lua" | "lua-wasm" | "luawasm" | "wasm.lua" | "teal" | "tl" | "fennel" | "fnl" | "julia" | "jl" | "scheme" | "scm" | "commonlisp" | "common-lisp" | "lisp" | "clojurescript" | "clojure" | "cljs" | "clj" | "cljc" | "edn" | "gleam" | "rescript" | "res" | "resi" | "re" | "rei" | "ocaml" | "ml" | "mli" | "tcl" | "wat" | "wast" | "webassembly" | "wasm" | "Binary" | "csharp" | "sql" | "sqlite" | "sqlite3" | "pg.sql" | "pgsql.sql" | "pgsql" | "pg" | "pglite" | "pglite.sql" | "postgresql" | "postgres" | "postgre.sql" | "postgresql.sql" | "prolog.pl" | "prolog" | "blockly" | "blockly.xml" | "xml" | "pintora" | "tailwindcss" | "postcssImportUrl" | "windicss" | "unocss" | "tokencss" | "lightningcss" | "autoprefixer" | "postcssPresetEnv" | "cssmodules" | "purgecss" | "cssnano")[]

Inherited from

ContentConfig.languages

Defined in

models.ts:78


layout

layout: undefined | "responsive" | "horizontal" | "vertical"

Inherited from

UserConfig.layout

Defined in

models.ts:111


lineNumbers

lineNumbers: boolean

Inherited from

UserConfig.lineNumbers

Defined in

models.ts:125


markup

markup: Editor

Inherited from

ContentConfig.markup

Defined in

models.ts:79


mode

mode: "focus" | "full" | "result" | "editor" | "simple" | "codeblock"

Inherited from

AppConfig.mode

Defined in

models.ts:96


processors

processors: Processor[]

Inherited from

ContentConfig.processors

Defined in

models.ts:85


readonly

readonly: boolean

Inherited from

AppConfig.readonly

Defined in

models.ts:94


recoverUnsaved

recoverUnsaved: boolean

Inherited from

UserConfig.recoverUnsaved

Defined in

models.ts:112


script

script: Editor

Inherited from

ContentConfig.script

Defined in

models.ts:81


scripts

scripts: string[]

Inherited from

ContentConfig.scripts

Defined in

models.ts:83


semicolons

semicolons: boolean

Inherited from

UserConfig.semicolons

Defined in

models.ts:136


showSpacing

showSpacing: boolean

Inherited from

UserConfig.showSpacing

Defined in

models.ts:113


singleQuote

singleQuote: boolean

Inherited from

UserConfig.singleQuote

Defined in

models.ts:137


style

style: Editor

Inherited from

ContentConfig.style

Defined in

models.ts:80


stylesheets

stylesheets: string[]

Inherited from

ContentConfig.stylesheets

Defined in

models.ts:82


tabSize

tabSize: number

Inherited from

UserConfig.tabSize

Defined in

models.ts:124


tags

tags: string[]

Inherited from

ContentConfig.tags

Defined in

models.ts:76


tests

tests: undefined | Partial<Editor>

Inherited from

ContentConfig.tests

Defined in

models.ts:89


theme

theme: Theme

Inherited from

UserConfig.theme

Defined in

models.ts:119


title

title: string

Inherited from

ContentConfig.title

Defined in

models.ts:72


tools

tools: Partial<{ active: "" | "console" | "compiled" | "tests" ; enabled: "all" | ("console" | "compiled" | "tests")[] ; status: ToolsPaneStatus }>

Inherited from

AppConfig.tools

Defined in

models.ts:97


trailingComma

trailingComma: boolean

Inherited from

UserConfig.trailingComma

Defined in

models.ts:138


types

types: Types

Inherited from

ContentConfig.types

Defined in

models.ts:88


useTabs

useTabs: boolean

Inherited from

UserConfig.useTabs

Defined in

models.ts:123


version

Readonly version: string

Inherited from

ContentConfig.version

Defined in

models.ts:90


welcome

welcome: boolean

Inherited from

UserConfig.welcome

Defined in

models.ts:114


wordWrap

wordWrap: boolean

Inherited from

UserConfig.wordWrap

Defined in

models.ts:126


zoom

zoom: 0.25 | 0.5 | 1

Inherited from

AppConfig.zoom

Defined in

models.ts:102