forked from orbit-oss/chalk
Meta tweaks
This commit is contained in:
parent
af4a078245
commit
655653bb0c
16 changed files with 19 additions and 24 deletions
|
|
@ -220,8 +220,8 @@ const miles = 18;
|
|||
const calculateFeet = miles => miles * 5280;
|
||||
|
||||
console.log(chalk`
|
||||
There are {bold 5280 feet} in a mile.
|
||||
In {bold ${miles} miles}, there are {green.bold ${calculateFeet(miles)} feet}.
|
||||
There are {bold 5280 feet} in a mile.
|
||||
In {bold ${miles} miles}, there are {green.bold ${calculateFeet(miles)} feet}.
|
||||
`);
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue