Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
wiki:syntax [2024/08/05 06:28] – created - external edit 127.0.0.1 | wiki:syntax [2025/05/15 09:12] (current) – add info about ad-hoc wrap shanes | ||
---|---|---|---|
Line 5: | Line 5: | ||
===== Basic Text Formatting ===== | ===== Basic Text Formatting ===== | ||
- | DokuWiki | + | The wiki supports |
+ | by wrapping text with markup: | ||
- | DokuWiki supports | + | ^ Style ^ Markup |
- | | + | | Bold | '' |
+ | | Italic | ||
+ | | Underline | ||
+ | | Superscript | ||
+ | | Subscript | ||
+ | | Strikethrough | ||
+ | | Code | '' | ||
+ | | Variable | ||
+ | | Keyboard Input | '' | ||
+ | | Sample Output | ||
+ | | Abbreviation | ||
+ | | Definition | ||
+ | | Highlight | ||
- | You can use < | + | You can also combine styles by nesting their markup. For example, '' |
- | You can use < | + | ===== Paragraph Breaks ===== |
- | You can mark something as <del>deleted</del> as well. | + | <dfn>Paragraphs</dfn> are created from blank lines. If you want to force a line break without a paragraph break, you can use two backslashes followed by a whitespace or the end of line. |
- | You can mark something as < | + | This is some text with some linebreaks.\\ Note that the |
- | + | ||
- | **Paragraphs** are created from blank lines. If you want to **force a newline** without a paragraph, you can use two backslashes followed by a whitespace or the end of line. | + | |
- | + | ||
- | This is some text with some linebreaks\\ Note that the | + | |
two backslashes are only recognized at the end of a line\\ | two backslashes are only recognized at the end of a line\\ | ||
- | or followed by\\ a whitespace \\this happens without it. | + | or followed by\\ a whitespace: \\this happens without it. |
- | This is some text with some linebreaks\\ Note that the | + | This is some text with some linebreaks.\\ Note that the |
two backslashes are only recognized at the end of a line\\ | two backslashes are only recognized at the end of a line\\ | ||
- | or followed by\\ a whitespace \\this happens without it. | + | or followed by\\ a whitespace: \\this happens without it. |
- | You should use forced | + | You should use forced |
===== Links ===== | ===== Links ===== | ||
Line 74: | Line 83: | ||
DokuWiki supports [[doku> | DokuWiki supports [[doku> | ||
For example this is a link to Wikipedia' | For example this is a link to Wikipedia' | ||
- | |||
- | ==== Windows Shares ==== | ||
- | |||
- | Windows shares like [[\\server\share|this]] are recognized, too. Please note that these only make sense in a homogeneous user group like a corporate [[wp> | ||
- | |||
- | Windows Shares like [[\\server\share|this]] are recognized, too. | ||
- | |||
- | Notes: | ||
- | |||
- | * For security reasons direct browsing of windows shares only works in Microsoft Internet Explorer per default (and only in the "local zone" | ||
- | * For Mozilla and Firefox it can be enabled through different workaround mentioned in the [[http:// | ||
- | <?php | ||
- | /** | ||
- | * Customization of the english language file | ||
- | * Copy only the strings that needs to be modified | ||
- | */ | ||
- | $lang[' | ||
- | </ | ||
==== Image Links ==== | ==== Image Links ==== | ||
Line 361: | Line 352: | ||
Note: Vertical alignment is not supported. | Note: Vertical alignment is not supported. | ||
+ | |||
+ | |||
+ | ===== Boxes ===== | ||
+ | |||
+ | You can separate some text from the main flow of the article by putting it in a styled box: | ||
+ | <div info> | ||
+ | You can put text in boxes like this. That's useful for warnings, hints, or anything else you want to draw special attention to. | ||
+ | |||
+ | Boxes can contain multiple paragraphs, as well as most other kinds of wiki markup like links or lists. | ||
+ | </ | ||
+ | |||
+ | You do so by wrapping the content in a '' | ||
+ | < | ||
+ | <div info> | ||
+ | You can put text in boxes like this. That's useful for warnings, hints, or anything else you want to draw special attention to. | ||
+ | |||
+ | Boxes can contain multiple paragraphs, as well as most other kinds of wiki markup like links or lists. | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | |||
+ | There are six available box styles: | ||
+ | <div grid-2-columns> | ||
+ | <div info>'' | ||
+ | <div tip>'' | ||
+ | <div important>'' | ||
+ | <div alert>'' | ||
+ | <div outline>'' | ||
+ | <div box>'' | ||
+ | </ | ||
+ | |||
+ | You can also use smaller boxes with the same styles inline in a paragraph by using a '' | ||
===== No Formatting ===== | ===== No Formatting ===== |