@@ -49,6 +49,34 @@ public static function provide_highlight_cases(): iterable
4949Hello john
5050<span class="hl-comment">#</span> <span class="hl-keyword">docker</span> ps <span class="hl-generic">-a</span>
5151CONTAINER ID IMAGE STATUS
52+ TXT],
53+
54+ [<<<'TXT'
55+ $ curl -OL https://squizlabs.github.io/PHP_CodeSniffer/phpcbf.phar
56+ $ pm2 start app.js --log /var/log/my-app.log
57+ $ npm init @eslint/config
58+ $ npx eslint --output-file errors.txt app/index.js
59+ $ npx husky add .husky/pre-commit 'echo "Hello World!"'
60+ $ brew install hashicorp/tap/terraform
61+ TXT,
62+ <<<'TXT'
63+ <span class="hl-comment">$</span> <span class="hl-keyword">curl</span> <span class="hl-generic">-OL</span> <span class="hl-value">https://squizlabs.github.io/PHP_CodeSniffer/phpcbf.phar</span>
64+ <span class="hl-comment">$</span> <span class="hl-keyword">pm2</span> start <span class="hl-property">app.js</span> <span class="hl-generic">--log</span> <span class="hl-property">/var/log/my-app.log</span>
65+ <span class="hl-comment">$</span> <span class="hl-keyword">npm</span> init <span class="hl-property">@eslint/config</span>
66+ <span class="hl-comment">$</span> <span class="hl-keyword">npx</span> eslint <span class="hl-generic">--output-file</span> <span class="hl-property">errors.txt</span> <span class="hl-property">app/index.js</span>
67+ <span class="hl-comment">$</span> <span class="hl-keyword">npx</span> husky add <span class="hl-property">.husky/pre-commit</span> <span class="hl-value">'echo "Hello World!"'</span>
68+ <span class="hl-comment">$</span> <span class="hl-keyword">brew</span> install <span class="hl-property">hashicorp/tap/terraform</span>
69+ TXT],
70+
71+ [<<<'TXT'
72+ $ npx husky-init && npm install
73+ $ echo "hello" || echo "fallback"
74+ $ mkdir build; cd build
75+ TXT,
76+ <<<'TXT'
77+ <span class="hl-comment">$</span> <span class="hl-keyword">npx</span> husky<span class="hl-generic">-init</span> <span class="hl-operator">&&</span> <span class="hl-keyword">npm</span> install
78+ <span class="hl-comment">$</span> <span class="hl-keyword">echo</span> <span class="hl-value">"hello"</span> <span class="hl-operator">||</span> <span class="hl-keyword">echo</span> <span class="hl-value">"fallback"</span>
79+ <span class="hl-comment">$</span> <span class="hl-keyword">mkdir</span> build<span class="hl-operator">;</span> <span class="hl-keyword">cd</span> build
5280TXT],
5381 ];
5482 }
0 commit comments