Show page source of WikiSyntax #103138

[[PageNavi(NavigationList)]]

= List of Wiki Syntax rules =

[[PageOutline]]

You can use syntax similar to Trac, !MoinMoin. Also read [WikiLinks Link formats], [WikiBlockProcessor Block processor], and [WikiPlugins Extension/Plugin].

== Font Style ==

You can embed font style by adding marks around both ends of the text string.

 * !'''Bold!'''
 * !''Italic!''
 * !'''''Bold+italic!'''''
 * !__under-line!__
 * !~~line through!~~
 * !^superscript!^
 * !,,subscript!,,
 * !`fixed pitch!`
 * !{{{inline ''formatted text''}}}

Each will be expressed as below.

 * '''Bold'''
 * ''Italic''
 * '''''Bold+italic'''''
 * __under-line__
 * ~~line through~~
 * ^superscript^
 * ,,subscript,,
 * `fixed pitch`
 * {{{inline ''formatted text''}}}

All font styles (except inline formatted text) can extend over lines.

{{{
'''bold.
Here as well.''' Revert back to original.
}}}

->  '''bold.
Here as well.''' Revert back to original.

Within an inline formatted text using !{{{string text}}}, Wiki grammar rules will be invalidated and expressed in fixed pitch. When using !`string text!`, all the link notations within the string text will be interpreted.


== Header ==

You can create a heading by typing "=" at the beginning of a line, then hit the space bar before you type in your heading. You can place the same number of "=" at the end of the line, but that will be simply ignored.

Also, at the end, if you write a string text right after "#", corresponding ID will be generated.

{{{
== Header Level 2
=== Header Level 3
=== Alternate 3 ===
==== Header 4 #header4-sample
==== Alternate 4 === #header4-sample2
}}}


== Paragraph ==

By inserting a blank line, you can divide a paragraph. (For HTML, use '''p''' element. )

Example:

{{{
Paragraph 1

Paragraph 2
}}}

Expressed as:

Paragraph 1

Paragraph 2


== Force Line Break ==

By writing ![[BR]], you can force line break.

Example:

{{{
It's more commonly recommended to divide paragraphs properly rather than to force line breaks. [[BR]]
You can also write in the midst of [[BR]] a line.
}}}

Expressed as:

It's more commonly recommended to divide paragraphs properly rather than to force line breaks. [[BR]]
You can also write in the midst of [[BR]] a line.


== List ==

You can make a list by placing an indent marker which is just a blank space. For markers, you can use * i. a. 1. and so on.


Example:

{{{
 * Itemized list
   * The width of indentation is 2.
     If the indentations are aligned vertically, even with a line break,
     the item will continue.
   * The next item.
 1. You can also create a list with number indenting.
 1. Number used as marker will be simply ignored.
   9999. As of now, you can not change the starting number.
 *You need to add a space between a marker and string text.
}}}

Expressed as:

 * Itemized list
   * The width of indentation is 2.
     If the indentations are aligned vertically, even with a line break,
     the item will continue.
   * The next item.
 1. You can also create a list with number indenting.
 1. Number used as marker will be simply ignored.
   9999. As of now, you can not change the starting number.
 *You need to add a space between a marker and string text.


{{{ comment
== Def List ==

'''TODO:未実装です'''

"::" を使うと定義リストになります。

Example:

 {{{
項目1::
  内容はインデントする必要があります
項目2::
  しかしまだ未実装です。
 }}}

Expressed as:

項目1::
  内容はインデントする必要があります
項目2::
  しかしまだ未実装です。
}}}

== Formatted Text Block ==

If you start a line with "!{{{", text from that starting point to "}}}" will be displayed as formatted text. There, all interpretations of Wiki syntax rules are invalidated, and lines within the block will be outputted as HTML '''pre'''.

Example:
{{{
 {{{
'''All''' the letters in between the brackets
   * will be outputted the way they were typed.
 }}}
}}}

Expressed as:
{{{
'''All''' the letters in between the brackets
   * will be outputted the way they were typed.
}}}

If you specify a name right after "{{{", it will be formatted properly. If you omit the name, it will automatically discriminate. For more details, read [WikiBlockProcessor block processor].

Example:
{{{
 {{{ code ruby
 class OSDN
   def hello
     puts "world :)"
   end
 end
 }}}
}}}

Expressed as:
{{{ code ruby
class OSDN
  def hello
    puts "world :)"
  end
end
}}}

== Quotation ==

By having ">" at the beginning of a line and hitting the space bar before you type in a string text, you can make a quotation. Nesting levels are expressed accordingly to the number of ">".

Example:
{{{
>> Original content
> Someone's comment
Your own text
}}}

Expressed as:

>> Original content
> Someone's comment
Your own text

== Table ==

By having "||" at the beginning of a line, you can create a table. You can also draw borders by using "||". You will also need "||" at the end of the line.

Example:
{{{
||cell 1||cell 2||cell 3||
||cell 4||cell 5||cell 6||
||It will||not||be divided||
||Even there is||an item||with different||number of cells||
}}}

Expressed as:

||cell 1||cell 2||cell 3||
||cell 4||cell 5||cell 6||
||It will||not||be divided||
||Even there is||an item||with different||number of cells||

== Horizontal Line ==

By having four or more hyphens at the beginning of a line, like "----", you can make a horizontal line.

Example:
{{{
----
}}}

Expressed as:
----

== Link ==
!WikiPageNames and URL will be automatically hyperlinked.

Example:
{{{
 * FrontPage
 * http://osdn.jp/
}}}

Expressed as:
 * FrontPage
 * http://osdn.jp/

There are also other ways to generate links. For more details, read [WikiLinks link syntax].

== Escape on Wiki Syntax ==

Having "!" right before, it will escape.

Example:

{{{
!'''It won't become bold. Stop the link to !WikiName.
}}}

Expressed as:

!'''It won't become bold. Stop the link to !WikiName.

== Extension/Plugin notation ==
Things like displaying images inline can be done by using plugins. Read [WikiPlugins extension notation].

[[PageNavi(NavigationList)]]