Skip to content

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 EnglishIdentifier
DWA : insérer le layout à remplirInsert the layout to fill indwa.insertLayout
DWA : vérifier les débordementsCheck overflowsdwa.checkOverflow
DWA : choisir le thème CSS pour DWA et MarpChoose the CSS theme for DWA and Marpdwa.configureTheme
DWA : copier le layout à remplirCopy the layout to fill indwa.copyLayout
DWA : exporter un PowerPoint éditable (.pptx)Export an editable PowerPoint (.pptx)dwa.exportPptx
DWA : diagnostiquer l’activation sur ce documentDiagnose activation on this documentdwa.activationStatus
DWA : préparer ce document pour DWAPrepare this document for DWAdwa.initializeDocument
DWA : se connecter au portailSign in to the portaldwa.hubConnect
DWA : se déconnecter du portailSign out of the portaldwa.hubDisconnect
DWA : choisir un thème d’organisationChoose an organization themedwa.hubChooseTheme
DWA : vérifier les mises à jour des thèmesCheck for theme updatesdwa.hubSync
DWA : état du thème de la présentationTheme status of the presentationdwa.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).

SettingDefaultPurpose
dwa.enabledtrueEnable 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.enabledtrueCheck 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.delay1400Delay before measuring the rendering, in milliseconds.
dwa.newSlideSuggestionstrueSuggest the _class directive as ghost text on a new empty slide. Accept with Tab.
dwa.autoScaffoldtruePrefill an empty slide with the structure of the chosen layout. Existing content is kept.
dwa.cleanSuggestionstrueHide Marp’s Property suggestions in the folder’s Markdown by setting editor.suggest.showProperties. Directives are still suggested in the frontmatter.
dwa.experimental.layoutTransitionsfalseExperimental: reserve/restore titles and captions when with-title/with-legend change on content slides. The content is kept in dwa-reserve comments.
dwa.callout.autoFittrueAutomatically 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
}

Documentation of the DWA Core v1 language, the VS Code extension, the CLI and the theme portal.