Example:
-
Restart Tomcat so the TDS is reinitialized:
$ cd ${tomcat_home}/bin $ ./shutdown.sh $ ./startup.sh1. Restart Tomcat so the TDS is reinitialized: ~~~bash $ cd ${tomcat_home}/bin $ ./shutdown.sh $ ./startup.sh ~~~All indented text are aligned with the
"R"in"Restart", which is 3 spaces. Alignment is with the start of the text in the bullet of the list. This works the same way with nested lists. -
Using the
~character in code blocksIn order to get the
~~~bash~~~and~~~to show up in the code block above, I had to do the following:~~~~~md ~~~bash $ cd ${tomcat_home}/bin $ ./shutdown.sh $ ./startup.sh ~~~ ~~~~~Whatever highlighting you would like, just make sure it has more
~characters than any nested code blocks.