Formatting issue in shell/bash code block
Closed this issue · 1 comments
tifDev commented
Hello,
See this example:
Assign command output to a variable
#!/bin/bash
SERVER_NAME=`hostname`
echo "You are running this script on ${SERVER_NAME}."
# Output: You are running this script on linuxsvr.
After format, it adds a space after the "=" like this:
SERVER_NAME= `hostname`
And this is invalid in shell/bash.
Could you stop this behaviour for bash codeblock pls?
Thanks for your extension.
Regards,
Tif
sumnow commented