Untitled object in Mermaid Config Schema
txt
https://mermaid.js.org/schemas/config.schema.json#/$defs/TreeViewDiagramConfig/properties/extensionIconsFile-extension → icon map used to pick a file's icon when showIcons is enabled, e.g. { ".ts": "material-icon-theme:typescript" }. Keys are lowercase and may include or omit the leading dot. Values are resolved like icon() references: pack:name is used as-is, unprefixed names resolve via defaultIconPack, and none hides the icon for matching files.
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|---|---|---|---|---|---|---|---|
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | config.schema.json* |
extensionIcons Type
object (Details)
extensionIcons Default Value
The default value is:
json
{}extensionIcons Properties
| Property | Type | Required | Nullable | Defined by |
|---|---|---|---|---|
| Additional Properties | string | Optional | cannot be null | Mermaid Config |
Additional Properties
Additional properties are allowed, as long as they follow this schema:
is optional
Type:
stringcannot be null
defined in: Mermaid Config
additionalProperties Type
string