File tree 1 file changed +11
-4
lines changed
src/_includes/docs/install/test-drive 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 9
9
2 . Open the Command Palette.
10
10
11
11
Go to ** View** <span aria-label =" and then " >></span > ** Command Palette** or
12
- press <kbd >{{ special}} </kbd > + <kbd >Shift</kbd > + <kbd >P</kbd >.
12
+ press <kbd class = " special-key " > </kbd > + <kbd >Shift</kbd > + <kbd >P</kbd >.
13
13
14
- 3 . Type ` flutter `
14
+ 3 . Type ` flutter ` .
15
15
16
16
4 . Select the ** Flutter: New Project** .
17
17
@@ -46,9 +46,9 @@ hot reload at this time.
46
46
1 . Open the Command Palette.
47
47
48
48
Go to ** View** <span aria-label =" and then " >></span > ** Command Palette** or
49
- press <kbd >{{ special}} </kbd > + <kbd >Shift</kbd > + <kbd >P</kbd >.
49
+ press <kbd class = " special-key " > </kbd > + <kbd >Shift</kbd > + <kbd >P</kbd >.
50
50
51
- 1 . Type ` flutter `
51
+ 1 . Type ` flutter ` .
52
52
53
53
1 . Select the ** Flutter: Select Device** .
54
54
@@ -74,3 +74,10 @@ hot reload at this time.
74
74
[ Material Components ] : {{site.material}}/components
75
75
76
76
</div >
77
+
78
+ <script >
79
+ document .addEventListener (" DOMContentLoaded" , function () {
80
+ const specialKey = navigator .userAgent .includes (' Mac' )? ' Command' : ' Control' ;
81
+ document .querySelectorAll (' .special-key' ).forEach ((element )=> element .textContent = specialKey);
82
+ });
83
+ </script >
You can’t perform that action at this time.
0 commit comments