mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
identify python code block for syntax highlighting
@@ -18,7 +18,7 @@ ls "${args[@]}"
|
||||
|
||||
Bash does not interpret data as code. Consider almost any other languages, such as Python:
|
||||
|
||||
```sh
|
||||
```python
|
||||
print 1+1 # prints 2
|
||||
a="1+1"
|
||||
print a # prints 1+1, not 2
|
||||
|
Reference in New Issue
Block a user