stacks-network / stacks-blockchain-docker

Stacks-blockchain with API using docker compose
GNU General Public License v3.0
27 stars 37 forks source link

docs: remove redundant $ from terminal command #44

Closed Akirtovskis closed 3 years ago

Akirtovskis commented 3 years ago

Removing the unnecessary $ from terminal commands.

Referring to : https://github.com/blockstack/docs/issues/1190

Akirtovskis commented 3 years ago

@wileyj Sorry for the late response. My understanding was that for these we split out the command and output in two blocks, so it is still easy to copy the command right away. If that's not the case I can close the PRs where I did it wrong.

wileyj commented 3 years ago

@wileyj Sorry for the late response. My understanding was that for these we split out the command and output in two blocks, so it is still easy to copy the command right away. If that's not the case I can close the PRs where I did it wrong.

I would confirm with @pgray-hiro here, but that's my understanding - standalone commands would have the $ removed, but if the text shows a command and the output, it would keep the $. ex: commands:

echo "foo"
echo "bar

commands with output:

$ echo "foo"
foo
$ echo "bar"
bar
gray-patrick commented 3 years ago

Yes, what @wileyj said as an example is correct. One final example would be to separate the example command from the example output with expository text, such as:

"Enter the following command to print text to the terminal:

echo "foo"

You should receive the following output:

foo

"

Akirtovskis commented 3 years ago

@gray-patrick @wileyj Sorry for taking this long to respond. Updated according to your suggestions.

Also did the same updates for this one : https://github.com/blockstack/subdomain-registrar/pull/62