Mit dem <var>
-Element können Leser Platzhaltervariablen durch eigene ersetzen
Werte.
Allgemeine Verwendung
Bearbeitbare Platzhaltervariablen in einem Markdown-Codeblock zum Kopieren und Klicken sind kann standardmäßig bearbeitet werden.
Edit the name of this PROJECT_ID.
Bearbeitung aktivieren
Fügen Sie dem <var>
-Element eine edit
-Klasse hinzu, um eine Variable zu erstellen,
EDITABLE
außerhalb eines Codeblocks.
Bearbeitung deaktivieren
This example adds the `readonly` class to the <var> element to create an
UNEDITABLE_VARIABLE.
This example adds the `readonly` class to the code block to disable editability
of both VARIABLE_1 and VARIABLE_2.
Kurzinfos
This EDITABLE variable has a tooltip that defaults to the
name of its original placeholder text.
This EDITABLE variable uses a `label`
attribute to create a custom tooltip named
Edit me.
Synchronisierung
Bearbeitbare Platzhaltervariablen, die denselben Bereich haben, werden synchronisiert. und sofort entsprechend dem neuen Wert aktualisiert.
Synchronisierung deaktivieren
This variable synchronizes by default because it is in a click-to-copy code
block. It has a `label` attribute named `variable with scope`:
VARIABLE
This variable adds the `no-scope` class so that it does not synchronize with the
other variables and has a `label` attribute named `variable without scope`:
VARIABLE
This variable also synchronizes by default and has a `label` attribute named
`variable with scope`:
VARIABLE
Synchronisierung aktivieren
Der Platzhalter „VARIABLE
“ ist
außerhalb eines Codeblocks festgelegt und verwendet das Attribut scope
für die Synchronisierung mit
die Variablen im Abschnitt Synchronisierung deaktivieren.