Codex

This page covers all the start of line markup characters. If you are new to wiki markup, visit Edit Getting Started first. There are 2 kinds of line markup:

  • simple (" " space, "!" exclamation mark, "*" asterisk, "#" number or pound sign)
  • compound ("->" arrow, "-<" back arrow, ": ... :" colon-text-colon, "----" 4 hyphens)

Simple line markup

These repeat the same markup character one or more times.

To make the sentence display in a typewriter (monospaced) font, start the line with a space (" ").

Space before the first character of this sentence. No space before the first character of this one.

To make a heading, start the line with one or more exclamation marks ("!"). These provide consistent, structured page layout, plus they're converted to code that internet search engines recognize as marking significant text. Some authors find the top level heading is too intrusive (and too like the page title), so prefer to start with the second level; few authors find a use for the sixth level.

! Top level heading
!! Second level heading
!!! Third
!!!! Fourth
!!!!! Fifth
!!!!!! Sixth

Top level heading

Second level heading

Third

Fourth

Fifth
Sixth

To produce a bullet list, start the line with one or more asterisks (*). To produce a numbered list, start the line with one or more number signs (#). More asterisks and number signs increase the depth of list.

* First-level list item
** Second-level list item
### Order this
#### And this (optional)
### Then this
** Another second-level item
* A first-level item: cooking
## Prepare the experiment
### Unwrap the pop-tart
### Insert the pop-tart into the toaster
## Begin cooking the pop tart
## Stand back
  • First-level list item
    • Second-level list item
      1. Order this
        1. And this (optional)
      2. Then this
    • Another second-level item
  • A first-level item: cooking
    1. Prepare the experiment
      1. Unwrap the pop-tart
      2. Insert the pop-tart into the toaster
    2. Begin cooking the pop tart
    3. Stand back

Compound line markup

These use combinations of 2 or more characters to produce their effect.

To produce an indented paragraph, start the line with an arrow (->). More hyphens at the beginning (--->) produce larger indents.

->Four score and seven years ago our fathers placed upon this continent a new nation, conceived in liberty and dedicated to the proposition that all men are created equal.
Four score and seven years ago our fathers placed upon this continent a new nation, conceived in liberty and dedicated to the proposition that all men are created equal.

To produce a paragraph with a hanging indent (outdent), start the line with an inverted arrow (-<). Adding hyphens at the beginning (---<) causes all the text to indent.

-<Four score and seven years ago our fathers placed upon this continent a new nation, conceived in liberty and dedicated to the proposition that all men are created equal.
Four score and seven years ago our fathers placed upon this continent a new nation, conceived in liberty and dedicated to the proposition that all men are created equal.
--<Four score and seven years ago our fathers placed upon this continent a new nation, conceived in liberty and dedicated to the proposition that all men are created equal.  And that food would be good to.
Four score and seven years ago our fathers placed upon this continent a new nation, conceived in liberty and dedicated to the proposition that all men are created equal. And that food would be good to.

To produce a definition list (a term followed by its definition), start the line with colon-term-colon (:term:). More colons increase the depth of the list

:term:definition of term
::second-level item: definition of 2nd-level item
term
definition of term
second-level item
definition of 2nd-level item

To produce a horizontal rule, start the line with 4 or more dashes (----).

----

A special line markup is used to create Tables.

This page may have a more recent version on pmwiki.org: PmWiki:LineMarkup, and a talk page: PmWiki:LineMarkup-Talk.