CentOS 8.x mediawiki include multi-line source code
From Notes_Wiki
Home > CentOS > CentOS 8.x > Web based tools > mediawiki > CentOS 8.x mediawiki include multi-line source code
It is often required to have source included as part of article within numbered text such as done at CentOS 8.x Systemd based reverse ssh tunnel service
For that we need to use something like:
# First # Second <source line lang="CSharp">Some Multi Line C Sharp Code </source> # Third
That has output:
- First
- Second
Some Multi Line C Sharp Code
- Third
Refer:
Home > CentOS > CentOS 8.x > Web based tools > mediawiki > CentOS 8.x mediawiki include multi-line source code