Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
wiki:syntax [2016/01/08 20:17] – knome | wiki:syntax [2016/01/08 20:47] – knome | ||
---|---|---|---|
Line 5: | Line 5: | ||
===== Basic Text Formatting ===== | ===== Basic Text Formatting ===== | ||
- | DokuWiki supports | + | ^ Purpose |
+ | | Bold | ''< | ||
+ | | Italic | ||
+ | | Underlined | ||
+ | | Monospace | ||
+ | | Subscript | ||
+ | | Superscript | ||
+ | | Strikethrough | ''< | ||
- | DokuWiki supports **bold**, //italic//, __underlined__ and '' | + | **Paragraphs** are created from blank lines. If you want to **force a newline** without a paragraph, you can use two backslashes |
- | Of course you can **__//'' | + | |
- | + | ||
- | You can use < | + | |
- | + | ||
- | You can use < | + | |
- | + | ||
- | You can mark something as < | + | |
- | + | ||
- | You can mark something as < | + | |
- | + | ||
- | **Paragraphs** are created from blank lines. If you want to **force a newline** without a paragraph, you can use two backslashes | + | |
- | + | ||
- | This is some text with some linebreaks\\ Note that the | + | |
- | two backslashes are only recognized at the end of a line\\ | + | |
- | or followed by\\ a whitespace | + | |
- | + | ||
- | This is some text with some linebreaks\\ Note that the | + | |
- | two backslashes are only recognized at the end of a line\\ | + | |
- | or followed by\\ a whitespace \\this happens without it. | + | |
- | + | ||
- | You should use forced newlines only if really needed. | + | |
===== Links ===== | ===== Links ===== | ||
- | DokuWiki supports multiple ways of creating links. | + | ^ Purpose |
- | + | | Manual | |
- | ==== External ==== | + | | Manual |
- | + | | Automatic external link | ''< | |
- | External links are recognized automagically: | + | | Email link |
- | + | | Launchpad user/ | |
- | DokuWiki supports multiple ways of creating links. External links are recognized | + | | Ubuntu wiki link | '' |
- | automagically: | + | |
- | link text as well: [[http:// | + | |
- | addresses like this one: <andi@splitbrain.org> are recognized, too. | + | |
- | + | ||
- | ==== Internal ==== | + | |
- | + | ||
- | Internal links are created by using square brackets. You can either just give a [[pagename]] or use an additional [[pagename|link text]]. | + | |
- | + | ||
- | Internal links are created by using square brackets. You can either just give | + | |
- | a [[pagename]] or use an additional [[pagename|link text]]. | + | |
- | + | ||
- | [[doku> | + | |
- | + | ||
- | You can use [[some: | + | |
- | + | ||
- | You can use [[some: | + | |
- | + | ||
- | For details about namespaces see [[doku>namespaces]]. | + | |
- | + | ||
- | Linking to a specific section is possible, too. Just add the section name behind a hash character as known from HTML. This links to [[syntax#internal|this Section]]. | + | |
- | + | ||
- | This links to [[syntax#internal|this Section]]. | + | |
- | + | ||
- | Notes: | + | |
- | + | ||
- | * Links to [[syntax|existing pages]] are shown in a different style from [[nonexisting]] ones. | + | |
- | | + | |
- | * When a section's heading is changed, its bookmark changes, too. So don't rely on section linking too much. | + | |
- | + | ||
- | ==== Interwiki ==== | + | |
- | + | ||
- | DokuWiki supports [[doku>Interwiki]] links. These are quick links to other wikis and websites. The most useful ones are: | + | |
- | + | ||
- | ^ Target | + | |
- | | Launchpad user/team | < | + | |
- | | Ubuntu wiki | < | + | |
==== Image Links ==== | ==== Image Links ==== |