Basic text formatting
**bold** //italic// __underline__ ''monospace'' **//''combine''//**
Output
Link to page
# For page name, it recommended to not use spaces. # Spaces will be replaced by underscore in the filesystem. [[.:folder:nested-folder:page-name| Label of page name]]
Lists
Unordered list
* one * sub item * two * sub item
Output
- one
- sub item
- two
- sub item
Ordered list
- Step 1 - sub-step A - sub-sub-step one - sub-sub-step two - Step 2 - sub-step A - sub-sub-step one - sub-sub-step two
Output
Newline / linebreak
Newline / linebreak is defined by 2 backslashes followed by a space or the end of line. I mostly use this in a list with an image.
- Step 1\\ {{:some-screenshot.png?400|}} - Step 2
Code
For inline code, use ''
and follow by %%
.
# Inline code. # Add '' to set it to use monospace. # Then, add %% to prevent any HTML markup to be interpreted. ''%%your inline code here%%''
Output
For code block, use <code LANGUAGE_NAME>.
<code python> import datetime today = datetime.date.today() print(today) # 2018-12-31 </code>
Output
import datetime today = datetime.date.today() print(today) # 2018-12-31
Quote
>How are you? >>I'm good. >>>Are you sure? >>>>Yes.
Output