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:
@@ -4,7 +4,7 @@ Script that generates component theme data defaults based on token data.
|
||||
|
||||
## Usage
|
||||
Run this program from the root of the git repository:
|
||||
```
|
||||
```sh
|
||||
dart dev/tools/gen_defaults/bin/gen_defaults.dart [-v]
|
||||
```
|
||||
|
||||
|
||||
@@ -24,14 +24,14 @@ output files can be generated without the Internet.
|
||||
|
||||
The tool can be run based on the existing database. To do this, run:
|
||||
|
||||
```bash
|
||||
```sh
|
||||
/PATH/TO/ROOT/bin/gen_keycodes
|
||||
```
|
||||
|
||||
The tool can also be run by rebuilding the database by drawing online information
|
||||
anew before generating the files. To do this, run:
|
||||
|
||||
```bash
|
||||
```sh
|
||||
/PATH/TO/ROOT/bin/gen_keycodes --collect
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user