**This is an old revision of the document!**
part of the GtC documentation
Basic text formatting
Try out all these techniques below in the playground.
Using the toolbar
The first five items on the left of the toolbar offer you basic text formatting. You can either click on the relevant place, where
- B gives Bold Text
- I gives Italic Text
- U gives Underlined Text
- T gives
Monospaced Text TgivesStrike-through Text
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.
DokuWiki syntax
**Bold Text**gives Bold Text//Italic Text//gives Italic Text**//Bold-Italic Text//**gives Bold-Italic Text__Underlined Text__gives Underlined Text (note the double underscores)''Monospaced Text''givesMonospaced Text<del>Strike-through Text</del>givesStrike-through Texttext with<sup>superscript</sup>gives text withsuperscripttext with<sub>subscript</sub>gives text withsubscript
Markdown syntax
*Italic Text*is OK: gives Italic Text_Italic Text_is OK: also gives Italic Text**Bold Text**is same as DokuWiki''Monospaced Text''is same as DokuWiki__Not Bold but Underlined__works as DokuWiki, not bold***Bold-Italic Text***just messes things up, don't try it!~~this formatting~~does not work, use<del>as aboveH~2~Oandx^2^do not work – H~2~O and x^2^ – use<sub>and<sup>as above
What if I want to use these characters?
As the characters above are used to indicate formatting, if you want to use the characters themselves on your page you may need to consider how to do it.
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>
comes out as
''**__I want to see all the characters__**''
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> does: it also makes them monospaced and red text on pink background.
MediaWiki
MediaWiki syntax for these is almost all different. See MediaWiki and DokuWiki.
However, <sup> and <sub> are the same; <nowiki> too!