User Tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:syntax [2025/05/11 23:21] – add ad-hoc tags to basic formatting section shaneswiki:syntax [2025/05/15 09:12] (current) – add info about ad-hoc wrap shanes
Line 14: Line 14:
 | Superscript    | ''%%example<sup>text</sup>%%''  | example<sup>text</sup>  | | Superscript    | ''%%example<sup>text</sup>%%''  | example<sup>text</sup>  |
 | Subscript      | ''%%example<sub>text</sub>%%''  | example<sub>text</sub>  | | Subscript      | ''%%example<sub>text</sub>%%''  | example<sub>text</sub>  |
-| Strikethrough  | ''%%<s>example text</s>%%''     | <s>example text</s>     | +| Strikethrough  | ''%%<del>example text</del>%%'' | <del>example text</del> |
-| Insertion      | ''%%<ins>example text</ins>%%'' | <ins>example text</ins>+
-| Deletion       | ''%%<del>example text</del>%%'' | <del>example text</del> |+
 | Code           | ''%%''example text''%%''        | ''example text''        | | Code           | ''%%''example text''%%''        | ''example text''        |
 | Variable       | ''%%<var>example text</var>%%'' | <var>example text</var> | | Variable       | ''%%<var>example text</var>%%'' | <var>example text</var> |
Line 85: Line 83:
   DokuWiki supports [[doku>Interwiki]] links. These are quick links to other Wikis.   DokuWiki supports [[doku>Interwiki]] links. These are quick links to other Wikis.
   For example this is a link to Wikipedia's page about Wikis: [[wp>Wiki]].   For example this is a link to Wikipedia's page about Wikis: [[wp>Wiki]].
- 
-==== 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>Intranet]]. 
- 
-  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://kb.mozillazine.org/Links_to_local_pages_do_not_work|Mozilla Knowledge Base]]. However, there will still be a JavaScript warning about trying to open a Windows Share. To remove this warning (for all users), put the following line in ''conf/lang/en/lang.php'' (more details at [[doku>localization#changing_some_localized_texts_and_strings_in_your_installation|localization]]): <code - conf/lang/en/lang.php> 
-<?php 
-/** 
- * Customization of the english language file 
- * Copy only the strings that needs to be modified 
- */ 
-$lang['js']['nosmblinks'] = ''; 
-</code> 
  
 ==== Image Links ==== ==== Image Links ====
Line 372: 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.
 +</div>
 +
 +You do so by wrapping the content in a ''%%<div>%%'' tag with an extra keyword like so:
 +<code>
 +<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.
 +</div>
 +</code>
 +
 +
 +There are six available box styles:
 +<div grid-2-columns>
 +<div info>''%%<div info>%%''</div>
 +<div tip>''%%<div tip>%%''</div>
 +<div important>''%%<div important>%%''</div>
 +<div alert>''%%<div alert>%%''</div>
 +<div outline>''%%<div outline>%%''</div>
 +<div box>''%%<div box>%%''</div>
 +</div>
 +
 +You can also use smaller boxes with the same styles inline in a paragraph by using a ''%%<span>%%'' tag instead of ''%%<div>%%''. For example, ''%%<span info>Helpful tip!</span>%%'' produces <span info>Helpful tip!</span>. However, inline boxes can only contain other markup that works inside a paragraph (e.g. bold or links), not markup that creates its own paragraphs like lists or tables.
  
 ===== No Formatting ===== ===== No Formatting =====