title: Markdown Syntax description: How to use markdown in Wiki module. Learn tips and tricks of creating a wonderfully structured document using markdown in UNA wiki and how to beef it up with cool bits and bobs. iconUrl: sys_wiki_files/kh3msnav8xxsqqkwqq5geertzvrzkz25 platforms: [android, ios, web] tags: [reference] packageName: ~15.0 sourceCodeUrl: https://github.com/unacms/una
Markdown Syntax
Text, title, and styling in standard markdown
Titles
Best used for section headers.
## Titles
Subtitles
Best used for subsection headers.
### Subtitles
Each title and subtitle creates an anchor and also shows up on the table of contents on the right.
Text Formatting
We support most markdown formatting. Simply add **, _, or ~~ around text to format it.
| Style | How to write it | Result |
|---|---|---|
| Bold | **bold** |
bold |
| Italic | _italic_ |
italic |
| Strikethrough | ~~strikethrough~~ |
You can combine these. For example, write **_bold and italic_** to get bold and italic text.
Linking to Pages
You can add a link by wrapping text in [](). You would write [UNA CMS](https://unacms.com) to link to UNA CMS.
Links to other wiki pages should be root-relative and start with /wiki/. For example, [Accounts](/wiki/accounts) links to the Accounts page.
Blockquotes
Singleline
To create a blockquote, add a > in front of a paragraph.
Be kind, stay on topic, and assume good intent.
> Be kind, stay on topic, and assume good intent.
Multiline
Be kind, stay on topic, and assume good intent.
If a thread gets heated, step away for an hour and come back to it later.
> Be kind, stay on topic, and assume good intent.
>
> If a thread gets heated, step away for an hour and come back to it later.
Alerts
[!NOTE] Useful information that users should know, even when skimming content.
[!TIP] Helpful advice for doing things better or more easily.
[!IMPORTANT] Key information users need to know to achieve their goal.
[!WARNING] Urgent info that needs immediate user attention to avoid problems.
[!CAUTION] Advises about risks or negative outcomes of certain actions.
To write an alert, start a blockquote with the alert type in square brackets:
> [!TIP]
> Helpful advice for doing things better or more easily.Lists
Start each line with - for a bulleted list, or with a number for steps that happen in order.
- Bring a laptop
- Bring a charger
1. Sign in
2. Open your profile
3. Choose Edit
Indent a line by two spaces to nest it under the item above.
Code
Wrap short code in single backticks, like npm install. For longer snippets, put three backticks on the line before and the line after the code, and add the language name right after the opening backticks to turn on syntax highlighting:
echo 'Hello from UNA';
Tables
Separate columns with | and put a row of dashes under the header row.
| Day | Meetup |
| -------- | ------------- |
| Tuesday | Code jam |
| Thursday | Welcome call |
| Day | Meetup |
|---|---|
| Tuesday | Code jam |
| Thursday | Welcome call |
Dividers
Put three dashes on their own line, with an empty line above them, to draw a divider between two sections.