Commands and settings
Both tables on this page are generated from the extension's package.json: they match the documented version exactly.
Commands
Open the Command Palette (Ctrl+Shift+P) and type "DWA".
| Command (palette, as shown in VS Code) | In English | Identifier |
|---|---|---|
| DWA : insérer le layout à remplir | Insert the layout to fill in | dwa.insertLayout |
| DWA : vérifier les débordements | Check overflows | dwa.checkOverflow |
| DWA : choisir le thème CSS pour DWA et Marp | Choose the CSS theme for DWA and Marp | dwa.configureTheme |
| DWA : copier le layout à remplir | Copy the layout to fill in | dwa.copyLayout |
| DWA : exporter un PowerPoint éditable (.pptx) | Export an editable PowerPoint (.pptx) | dwa.exportPptx |
| DWA : diagnostiquer l’activation sur ce document | Diagnose activation on this document | dwa.activationStatus |
| DWA : préparer ce document pour DWA | Prepare this document for DWA | dwa.initializeDocument |
| DWA : se connecter au portail | Sign in to the portal | dwa.hubConnect |
| DWA : se déconnecter du portail | Sign out of the portal | dwa.hubDisconnect |
| DWA : choisir un thème d’organisation | Choose an organization theme | dwa.hubChooseTheme |
| DWA : vérifier les mises à jour des thèmes | Check for theme updates | dwa.hubSync |
| DWA : état du thème de la présentation | Theme status of the presentation | dwa.themeStatus |
| DWA : contrôler le thème (Core v1) | Check the theme (Core v1) | dwa.validateTheme |
Settings
Change them in the VS Code settings (user or workspace folder).
| Setting | Default | Purpose |
|---|---|---|
dwa.enabled | true | Enable assistance on Marp documents using the DWA theme. |
dwa.themePath | "" | CSS of the theme in use. Its @theme name must match the document’s theme; otherwise registered Marp themes and nearby files are searched. |
dwa.overflow.enabled | true | Check the rendering after a pause in editing (requires a local Chrome, Chromium or Edge). |
dwa.overflow.browserPath | "" | Chrome/Chromium/Edge executable. Empty: automatic detection. In WSL, choose a Linux browser. |
dwa.overflow.delay | 1400 | Delay before measuring the rendering, in milliseconds. |
dwa.newSlideSuggestions | true | Suggest the _class directive as ghost text on a new empty slide. Accept with Tab. |
dwa.autoScaffold | true | Prefill an empty slide with the structure of the chosen layout. Existing content is kept. |
dwa.cleanSuggestions | true | Hide Marp’s Property suggestions in the folder’s Markdown by setting editor.suggest.showProperties. Directives are still suggested in the frontmatter. |
dwa.experimental.layoutTransitions | false | Experimental: reserve/restore titles and captions when with-title/with-legend change on content slides. The content is kept in dwa-reserve comments. |
dwa.callout.autoFit | true | Automatically choose a class from callout-size-50 to callout-size-180, in 5 px steps. The theme must provide these classes. No CSS is written; a local browser is required. |
dwa.hub.portal | "" | Address suggested by default when signing in to the theme portal (e.g. https://themes.example.com). |
dwa.themes.updateNotifications | "notify" | Organization theme notifications (fingerprint compared when a presentation is opened). |
Example folder settings
json
{
"dwa.overflow.browserPath": "/usr/bin/chromium",
"dwa.overflow.delay": 2000,
"dwa.experimental.layoutTransitions": true
}