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:
Kishan Dhankecha
2024-05-01 20:14:27 +05:30
committed by GitHub
parent cb2197e9b3
commit 2867ac7885
28 changed files with 58 additions and 58 deletions

View File

@@ -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
```

View File

@@ -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

View File

@@ -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
```