wiki:syntax

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wiki:syntax [2025/11/08 17:46] simonwiki:syntax [2025/11/08 17:55] (current) simon
Line 1: Line 1:
 ====== Formatting Syntax ====== ====== Formatting Syntax ======
  
-[[doku>DokuWiki]] supports some simple markup language, which tries to make the datafiles to be as readable as possible. This page contains all possible syntax you may use when editing the pages. Simply have a look at the source of this page by pressing "Edit this page". If you want to try something, just use the [[playground:playground|playground]] page. The simpler markup is easily accessible via [[doku>toolbar|quickbuttons]], too.+[[doku>DokuWiki]] supports simple markup language of its ownand also a variant of Markdown, both of which try to make the datafiles to be as readable as possible, but often in different ways. This page contains most of the possible syntax you may use when editing the pages. Simply have a look at the source of this page by pressing "Edit this page". If you want to try something, just use the [[playground:playground|playground]] page. The simpler markup is easily accessible via [[doku>toolbar|quickbuttons]], too
 + 
 +When you try editing this wiki, you will discover quite quickly that we have decided to use the Markdown plugin
  
 ===== Basic Text Formatting ===== ===== Basic Text Formatting =====
Line 13: Line 15:
 `You can use <sub>subscript</sub> and <sup>superscript</sup>, too.` `You can use <sub>subscript</sub> and <sup>superscript</sup>, too.`
  
-You can't use the Markdown way of `H~2~O` or `x^2^`.+You can't use the Markdown way of `H~2~O` or `x^2^`.  
 + 
 +But Markdown *italic* is possible, with one asterisk instead of two slash characters. 
 + 
 +`But Markdown *italic* is possible, with one asterisk instead of two slash characters.`
  
 You can mark something as <del>deleted</del> as well. You can mark something as <del>deleted</del> as well.
Line 19: Line 25:
 `You can mark something as <del>deleted</del> as well.` `You can mark something as <del>deleted</del> as well.`
  
-**Paragraphs** are created from blank lines. If you want to **force a newline** without a paragraph, in native Dokuwiki you can use two backslashes followed by a whitespace or the end of line; but in Markdown you end the line\+**Paragraphs** are created from blank lines. 
 +If you want to **force a newline** without a paragraph, 
 +in native Dokuwiki you can use two backslashes followed by a whitespace or the end of line; 
 +but in Markdown you end the line 
 +with a single backslash and no trailing space. 
 + 
 +``` 
 +**Paragraphs** are created from blank lines. 
 +If you want to **force a newline** without a paragraph, 
 +in native Dokuwiki you can use two backslashes followed by a whitespace or the end of line; 
 +but in Markdown you end the line
 with a single backslash and no trailing space. with a single backslash and no trailing space.
 +```
  
 This is some text with some linebreaks\ This is some text with some linebreaks\
Line 94: Line 111:
  
 * For security reasons direct browsing of windows shares only works in Microsoft Internet Explorer per default (and only in the "local zone"). * 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]]): +* For Mozilla and Firefox it can be enabled through different workaround mentioned in the [Mozilla Knowledge Base](https://kb.mozillazine.org/Links_to_local_pages_do_not_work). 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> <code - conf/lang/en/lang.php>
  • wiki/syntax.1762624013.txt.gz
  • Last modified: 2025/11/08 17:46
  • by simon