It is desirable to use the CODE tag to publish the codes (i.e. docker-compose in YAML). It displays text in one of several programming languages, highlighting the syntax where possible.
In the text editor search for this button (or type ...):
Click on it and a pop-up will open...