Main (edit)

Content

  • Introduction
  • Rules
    • Character Generation
    • Skills
    • Combat
    • Armour
    • Weapons
  • Religions
  • Magic
  • Creatures
  • Bibliography

Links

About this Site

  • Contact Information
  • Credits
  • Copyright Notice
  • Terms of Use

Pm Wiki > Line Continuation
Printable | Search

About line continuation

This page illustrates how you can continue lines using \ and \\. The instructions on TextFormattingRules say:

  • Use blank lines as separators
  • Use \ (backslash) at the end of a line to join the next line to the current one
  • Use \\ (two backslashes) at the end of a line to force a line break

Let us now give a few examples (the text in the left column shows the markup, and the right column shows how it is rendered).

Example of using \

In this example we pretend that you are writing a list item with a lot of text. Here's what you will get if you don't use line continuation:
 * This list item has so
much text that you wrote it
on several lines
  • This list item has so
much text that you wrote it on several lines

This is how it should be done:
 * This list item has so \
much text that you wrote it \
on several lines
  • This list item has so much text that you wrote it on several lines

Example of using \\

In this example you want to have a newline without leaving the list item. Here's what you will get if you use \:

 * The next sentence should \
be on a line of its own. \
On a line of its own.
  • The next sentence should be on a line of its own. On a line of its own.

This is how it should be done:
 * The next sentence should \
be on a line of its own. \\
On a line of its own.
  • The next sentence should be on a line of its own.
    On a line of its own.

Recent Changes (All) | Edit SideBar Page last modified on May 23, 2004, at 11:54 AM Edit Page | Page History
Powered by PmWiki