Skip to content

Commit

Permalink
docs: update shell script highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
koehlma committed May 28, 2024
1 parent bff4ea2 commit 3f78256
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions www/src/theme/prism-lang-shell.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ Prism.languages.shell = {
pattern: /#.*/,
},
function: {
pattern: /(\sxz\s|\bwget\b|\bcurl\b|docker|rugpi-ctrl|\.\/run-bakery|\bgit\b|\bdocker\b|\bif\b|\bthen\b|\bfi\b|\becho\b)/
pattern: /(\sxz\s|\bwget\b|\bchmod\b|\bcurl\b|docker|rugpi-ctrl|^\.\/run-bakery|\bgit\b|\bdocker\b|\bif\b|\bthen\b|\bfi\b|\becho\b)/
},
constant: {
pattern: /(true|false)/,
pattern: /(true|false|<[^>]*>)/,
alias: "keyword",
},
parameter: {
Expand Down

0 comments on commit 3f78256

Please sign in to comment.