Also in: fr

Page syntax SliTaz 5.1

Wiki pages are written in Markdown: plain text with a few marks that become headings, lists, links or code. This page lists everything the wiki understands. Anything else is shown as typed, and HTML is never allowed: <b> stays <b> on the page. To see what a page will look like, use the Preview button of the edit form.

Each example shows the source in a box, then what it gives.

Headings

# Title of the page
## A section
### A part of a section

The first # heading is the title of the page: write one, at the top. Below it, use ## for sections and ### for their parts; #### to ###### exist but are rarely needed. Every heading gets an anchor made from its words: ## Wireless setup can be linked as #wireless-setup.

A heading can end with the SliTaz releases its part was tested on, when they differ from the ones of the page:

## Wireless with netbox {4.0}
## Boot options {5.1 6.0}

They show as small badges after the text of the heading.

Paragraphs and line breaks

Lines that follow each other form one paragraph: a line break in the source is a space on the page. Leave a blank line to start a new paragraph.

Bold, italic, struck

**bold**, *italic*, ~~struck~~ and `a command`

bold, italic, struck and a command

Use backquotes for anything the reader types or sees on the screen: commands, file names, package names, options.

Lists

- an item
- another one
  - an item inside it, indented two spaces
- the last one

1. first step
2. second step
3. third step

- [x] something done
- [ ] something to do
  1. first step
  2. second step
  3. third step

* works like -. Indent an item two spaces more than the one above it to nest it; lists go six levels deep.

Code blocks

Put commands and file contents between two lines of three backquotes. A word after the opening ones names the language:

```
# tazpkg get-install nano
```

```sh
#!/bin/sh
echo "Hello SliTaz"
```
# tazpkg get-install nano

Nothing is interpreted inside a code block. Show the prompt only when it matters: # for root, $ for a user. To show three backquotes in a block, as above, open and close it with four.

Notes

> Back up your data before you partition a disk.

Back up your data before you partition a disk.

Keep notes for what the reader must not miss.

[Wireless in console](en/network/wifi-console)
[Wireless setup, on this page](#wireless-setup)
[the SliTaz site](https://www.slitaz.org/)
[write to us](mailto:accounts@slitaz.org)
https://doc.slitaz.org/

Other kinds of links (javascript:, file:, ...) stay plain text.

Tables

| Package    | Size   | Notes          |
|------------|-------:|:--------------:|
| nano       | 400 KB | small editor   |
| vim        | 3 MB   | `vi` for real  |
PackageSizeNotes
nano400 KBsmall editor
vim3 MBvi for real

The second line is required: dashes between pipes. A : on the right aligns the column to the right, on both sides centers it. Write \| for a pipe inside a cell. A table ends at the first line without a |; it cannot be inside a list or a note.

Images

![The SliTaz spider](/spider.svg)

The SliTaz spider

Only images already on the wiki server can be shown: there is no upload yet. The screenshots of the old wiki are under /old/_media/. An image from another site becomes a plain link to it.

Rules

---

Three dashes or more alone on a line draw a horizontal line between two parts of a page.


Showing a mark as it is

A \ before a mark shows it as it is: \*not italic\* gives *not italic*, \# at the start of a line is not a heading.

What the wiki does not do

No HTML, no footnotes, no colors or font sizes, no embedded videos. Keep pages simple: a reader on an old screen or a text browser should read them as well as anyone. See Contribute for how to organize a page.