CODE tag
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 [CODE]...[/CODE]):
Click on it and a pop-up will open:
You can paste the code in there or use a specific programming language with syntax highlighting:
Example:
YAML:
version: "3.5"
services:
mc:
image: blackvoidclub/midnight-commander:latest
container_name: mc
volumes:
- "/:/mnt/host"
restart: always
ICODE tag
For small pieces of code use the ICODE tag. Please avoid using this tag to post a lot of codes inside.In the text editor search for this button (or type [ICODE]...[/ICODE]):
The output will be like this:
This is an inline code.
Here you can see all the available BB codes on SynoForum:
BB codes
The list of BB codes you can use to spice up the look of your messages. This page shows a list of all BB codes that are available.
www.synoforum.com