doc:basic_text_formatting

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
doc:basic_text_formatting [2026/03/31 14:08] – [Markdown syntax] Simon Grantdoc:basic_text_formatting [2026/04/16 13:17] (current) – [Markdown syntax] Simon Grant
Line 7: Line 7:
 ===== Using the toolbar ===== ===== Using the toolbar =====
  
-The first five items on the left of the toolbar offer you basic text formatting.+The first five items on the left of the edit window toolbar offer you basic text formatting.
 You can either click on the relevant place, where You can either click on the relevant place, where
  
Line 16: Line 16:
   * <del>T</del> gives <del>Strike-through Text</del>   * <del>T</del> gives <del>Strike-through Text</del>
  
-or you can write text first, then make it e.g. **bold** by highlighting it (double click on one word; or drag across more than one word) and when it is highlighted, //click on the relevant place// in the toolbar.+Further along the toolbar 
 +  * **—** gives a horizonal rule: but you **must** leave a blank line before it. 
 + 
 + 
 +Alternatively, you can write text first, then make it e.g. **bold** by highlighting it (double click on one word; or drag across more than one word) and when it is highlighted, //click on the relevant place// in the toolbar.
  
 ===== DokuWiki syntax ===== ===== DokuWiki syntax =====
Line 28: Line 32:
   * `text with<sup>superscript</sup>` gives text with<sup>superscript</sup>   * `text with<sup>superscript</sup>` gives text with<sup>superscript</sup>
   * `text with<sub>subscript</sub>` gives text with<sub>subscript</sub>   * `text with<sub>subscript</sub>` gives text with<sub>subscript</sub>
 +  * `----` creates a "horizontal rule": remember the need for a blank line before it.
  
 ===== Markdown syntax ===== ===== Markdown syntax =====
Line 33: Line 38:
   * `*Italic Text*` works: gives *Italic Text*   * `*Italic Text*` works: gives *Italic Text*
   * `_Italic Text_` _with **one** underscore each side, not two_ works: also gives _Italic Text_   * `_Italic Text_` _with **one** underscore each side, not two_ works: also gives _Italic Text_
-  * `**Bold Text**` is same as DokuWiki +  * `**Bold Text**` is the same as DokuWiki 
-  * `''Monospaced Text''` is same as DokuWiki +  * `''Monospaced Text''` is the same as DokuWiki 
-  * `__Not Bold but Underlined__` works as DokuWiki, **not** bold+  * `----` for a horizontal rule is the same as DokuWiki 
 +  * `__Not Bold but Underlined__` works as DokuWiki, **not** bold as in Markdown
   * `***Bold-Italic Text***` just messes things up, don't try it!   * `***Bold-Italic Text***` just messes things up, don't try it!
-  * `~~this formatting~~` does **not** work, use `<del>` as above+  * `~~attempted strikethrough~~` does **not** work, use `<del>` as above
   * `H~2~O` and `x^2^` do **not** work – H~2~O and x^2^ – use `<sub>` and `<sup>` as above   * `H~2~O` and `x^2^` do **not** work – H~2~O and x^2^ – use `<sub>` and `<sup>` as above
  
 +Because Markdown uses `----` underneath text to indicate a level-2 heading, you **must** leave a space before a horizontal rule.
 ===== What if I want to use these characters? ===== ===== What if I want to use these characters? =====
  
Line 46: Line 53:
 The easiest way to be sure is to contain things you want unchanged inside `<nowiki>` `</nowiki>`tags. The easiest way to be sure is to contain things you want unchanged inside `<nowiki>` `</nowiki>`tags.
  
-`<nowiki>''**__I want to see all the characters__**''</nowiki>`\\+`<nowiki>''**__I want to see all the formatting characters__**''</nowiki>`\\
 comes out as\\ comes out as\\
-<nowiki>''**__I want to see all the characters__**''</nowiki>+<nowiki>''**__I want to see all the formatting characters__**''</nowiki>
  
-On this page, the 'backtick' character'\`' is used in all the examples above, to allow showing the markup. But as you see, it does more than simply disable the special characters, as <nowiki><nowiki></nowiki> does: it also makes them monospaced and red text on pink background.+On this page, the 'backtick' character ''\`'' is used in all the examples above, to allow showing the markup. But as you see, it does more than simply disable the special characters, as <nowiki><nowiki></nowiki> does: it also makes them monospaced and red text on pink background.
  
 +If you use the backtick, be very careful to have them balanced. Otherwise you might get a surprise when you look at the result!
  
 ===== MediaWiki ===== ===== MediaWiki =====
  • doc/basic_text_formatting.1774966112.txt.gz
  • Last modified: 2026/03/31 14:08
  • by Simon Grant