Added missing code block language in docs (#147481)
- added language for all code blocks - replaced `bash` or `shell` with `sh` for consistency. - added `sh` and `console` in the GitHub template link generator. - updated test for GitHub template.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
## To run the Hello World demo:
|
||||
```
|
||||
```sh
|
||||
flutter run
|
||||
```
|
||||
## To run the Hello World demo showing Arabic:
|
||||
```
|
||||
```sh
|
||||
flutter run lib/arabic.dart
|
||||
```
|
||||
|
||||
@@ -21,7 +21,7 @@ Flutter's layered architecture.
|
||||
To run each example, specify the demo file on the `flutter run`
|
||||
command line, for example:
|
||||
|
||||
```
|
||||
```sh
|
||||
flutter run raw/spinning_square.dart
|
||||
flutter run rendering/spinning_square.dart
|
||||
flutter run widgets/spinning_square.dart
|
||||
|
||||
@@ -6,7 +6,7 @@ full-screen Flutter view along with passing data back and forth between the two.
|
||||
On iOS, we use a CocoaPods dependency to add a Material Design button, and so
|
||||
`pod install` needs to be invoked in the `ios/` folder before `flutter run`:
|
||||
|
||||
```
|
||||
```sh
|
||||
pushd ios/ ; pod install ; popd
|
||||
flutter run
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user