- Infos im HLRS Wiki sind nicht rechtsverbindlich und ohne Gewähr -
- Information contained in the HLRS Wiki is not legally binding and HLRS is not responsible for any damages that might result from its use -
Template:Command: Difference between revisions
From HLRS Platforms
Jump to navigationJump to search
(Prevent line breaks in and display commands with bash syntax highlighting) |
(Fix issue with command argument inside syntaxhighlight not getting expanded) |
||
Line 1: | Line 1: | ||
<div style="background-color:#dddddd; color:#000000; padding: 0.1em 1em; margin: 0.5em; border:1px solid #999999; border-left:10px solid #999999; font-family: monospace;"> | <div style="background-color:#dddddd; color:#000000; padding: 0.1em 1em; margin: 0.5em; border:1px solid #999999; border-left:10px solid #999999; font-family: monospace;">{{#tag:syntaxhighlight|lang="bash"|{{{command}}}|}}</div> | ||
<noinclude>[[Category:Templates]] This template is for commands which can be run by any user. | <noinclude>[[Category:Templates]] This template is for commands which can be run by any user. | ||
Note: The provided command will be rendered with bash syntax, and line breaks will be presevered</noinclude> | Note: The provided command will be rendered with bash syntax, and line breaks will be presevered</noinclude> |
Revision as of 14:34, 20 January 2025
lang="bash"
This template is for commands which can be run by any user.
Note: The provided command will be rendered with bash syntax, and line breaks will be presevered