Template talk:Commands
Unfortunately, there is no way, at least that I could find, to have newlines between each command and not have a newline on the last command with this looping command. To make things look symetrical, I have added a newline at the top and spaces in front of the command. I dislike this extra white space, but the alternative is to have an empty line only at the bottom, making it look awkward. I believe the special characters in previous versions was a result of the same problem. This version simply replaced the special characters with the <nowiki> tags with the return line or space added using normal characters to make it a little clearer what was being done
Template does not render second (or later?) lines if they contain '='. Example from Autotools page:
{{Commands |mkdir $HOME/SOFTWARE |make install --prefix=$HOME/SOFTWARE }}
[name@server ~]$ mkdir $HOME/SOFTWARE
- Ross Dickson (talk) 19:47, 21 November 2016 (UTC)
Solution is that = must be enclosed in double braces,
{{=}}
- Ross Dickson (talk) 20:13, 21 November 2016 (UTC)