mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Improve highlighting of code samples
@@ -5,9 +5,9 @@
|
|||||||
```sh
|
```sh
|
||||||
for f in *.png
|
for f in *.png
|
||||||
do
|
do
|
||||||
cat << EOF
|
cat << HTML
|
||||||
<img src="$f" /><br/>
|
<img src="$f" /><br/>
|
||||||
EOF
|
HTML
|
||||||
done > index.html
|
done > index.html
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -16,11 +16,12 @@ done > index.html
|
|||||||
```sh
|
```sh
|
||||||
for f in *.png
|
for f in *.png
|
||||||
do
|
do
|
||||||
cat << EOF
|
cat << HTML
|
||||||
<img src="$f" /><br/>
|
<img src="$f" /><br/>
|
||||||
EOF
|
HTML
|
||||||
done > index.html
|
done > index.html
|
||||||
```
|
```
|
||||||
|
|
||||||
### Rationale:
|
### Rationale:
|
||||||
|
|
||||||
The here document delimiter will not be recognized if it is indented.
|
The here document delimiter will not be recognized if it is indented.
|
||||||
|
Reference in New Issue
Block a user