Jump to content

User:Looie496/Tutorial/Markup

From Wikipedia, the free encyclopedia

Most of what you type in the editor window will show up in the browser looking just like what you typed. There are, however, a number of ways of altering the appearance and layout of part of a page, by using special types of "markup". We'll introduce a few of them here. To understand what is going on, you should click "edit this page" and then "show preview", so you can see both what is typed in the editor window and how the result appears in a browser. As always, feel free to experiment by typing things in the editor window and seeing what happens when you update the preview.

This is a top-level section title

[edit]

You might notice that section titles show up in the table of contents for the page. You don't need to do anything special to create a list of contents, it happens automatically as soon as you create section titles

This is a subsection title

[edit]

This is a sub-subsection title

[edit]
You can go even deeper but you probably shouldn't
[edit]

Text styles

[edit]

Here are some examples of text styles:

This is in italics

This is in bold type

This is in bold italics

'Note that single quotes just give you a sentence in quotes'

Lists

[edit]

Here is how you can create a bulleted list:

  • This is the first bulleted line.
  • This is the second bulleted line.
  • This is the third bulleted line.

Here is how you can create a numbered list:

  1. This is the first numbered line.
  2. This is the second numbered line.
  3. This is the third numbered line.

Indenting

[edit]
If you want a line to be indented, put a : at the front.
More :: means more indentation.
You can indent a whole lot this way.

Putting spaces at the front of a line is usually a bad idea, though. This happens:

This line has a space at the start.  Probably not what you wanted.