Closed jdbaldry closed 3 years ago
Will understand if this is not wanted, especially as it trades off better highlighting for being able to copy-paste command snippets in some cases.
Closing this as I'm doing PR house keeping but shout if you want a similar thing done for the updated article.md and I'll happily make the changes. Here's the visual comparison for your perusal:
bash
$ docker logs loki-shell
level=info ts=2020-08-23T13:06:21.1927609Z caller=loki.go:210 msg="Loki started"
level=info ts=2020-08-23T13:06:21.1929967Z caller=lifecycler.go:370 msg="auto-joining cluster after timeout" ring=ingester
console:
$ docker logs loki-shell
level=info ts=2020-08-23T13:06:21.1927609Z caller=loki.go:210 msg="Loki started"
level=info ts=2020-08-23T13:06:21.1929967Z caller=lifecycler.go:370 msg="auto-joining cluster after timeout" ring=ingester
This is mostly personal preference but I think it is a notable improvement when you want to show the usage of a command and expected output as with the
docker logs
code block.