Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| doc:basic_text_formatting [2026/07/27 06:58] – [DokuWiki syntax] Simon Grant | doc:basic_text_formatting [2026/07/27 09:19] (current) – Simon Grant | ||
|---|---|---|---|
| Line 12: | Line 12: | ||
| * B gives **Bold Text** | * B gives **Bold Text** | ||
| * I gives //Italic Text// | * I gives //Italic Text// | ||
| - | * don't use U, __as it gives this as in Markdown__ | + | * don't use U, __as double underscore |
| + | * with Markdown enabled, there is no way to get underlined text | ||
| + | * some sources say try < | ||
| * T gives '' | * T gives '' | ||
| * < | * < | ||
| Line 39: | Line 41: | ||
| * `**Bold Text**` is the same as DokuWiki | * `**Bold Text**` is the same as DokuWiki | ||
| * `'' | * `'' | ||
| - | * `----` for a horizontal rule is the same as DokuWiki, but 3 hyphens are enough | + | * `---` for a horizontal rule is like DokuWiki, but 3 hyphens are enough |
| * `__also Bold, not Underlined__` is bold, __not__ as DokuWiki | * `__also Bold, not Underlined__` is bold, __not__ as DokuWiki | ||
| * `***Bold-Italic Text***` gives ***Bold-Italic Text***. | * `***Bold-Italic Text***` gives ***Bold-Italic Text***. | ||
| * `~~strikethrough~~` gives ~~strikethrough~~ | * `~~strikethrough~~` gives ~~strikethrough~~ | ||
| - | * `H~2~O` and `x^2^` do **not** work – H~2~O and x^2^ – use `< | + | * `H~2~O` and `x^2^` do **not** work, – see H~2~O and x^2^ – use `< |
| Because Markdown uses as string of `------` underneath text to indicate a level-2 heading, you **must** leave a blank line before a horizontal rule. | Because Markdown uses as string of `------` underneath text to indicate a level-2 heading, you **must** leave a blank line before a horizontal rule. | ||
| Line 52: | Line 54: | ||
| The easiest way to be sure is to contain things you want unchanged inside `< | The easiest way to be sure is to contain things you want unchanged inside `< | ||
| - | `< | + | |
| - | comes out as\\ | + | comes out as |
| < | < | ||
| - | On this page, the ' | + | while using the ' |
| + | |||
| + | `'' | ||
| + | comes out as | ||
| + | `'' | ||
| + | |||
| + | The ' | ||
| If you use the backtick, be very careful to have them balanced. Otherwise you might get a surprise when you look at the result! | If you use the backtick, be very careful to have them balanced. Otherwise you might get a surprise when you look at the result! | ||