最近更新 - 使用說明 - 測試區 - 搜尋:
●獅吼文集
楔子?
佛法入門?
三藏經典?
修持正見?
法義討論?
實修儀軌?
名相淺釋?
佛教X檔案?
學佛心得?
佛教人物?
●其它
暫存區?
工作討論?
編輯選單

連結!pmwiki.org
* Cookbook
* Development
* PmWikiUsers
* SuccessStories

編輯本頁 列印預覽 群組歷史 本頁歷史


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.

編輯本頁 - 列印預覽 - 群組歷史 - 本頁歷史 - 搜尋
本頁更新於 2004 年 05 月 23 日,05:54 PM