Appendix A. Quick Syntax Reference

Here are the syntax rules that are provided by the Textile markup language:

Block rules

List rules

p.

Starts a paragraph

#

Numbered list item

h1.

First-level heading

##

Nested numbered list item

h2.

Second-level heading

*

Bulleted list item

h3.

Third-level heading

**

Nested bulleted list item

h4.

Fourth-level heading

#*

Nested mixed list item

h5.

Fifth-level heading

Phrase rules

h6.

Sixth-level heading

*...*

Strong text

bq.

Quote block

**...**

Bold text

>

Quote

??...??

Citation

>>

Second-level quote

+...+

Inserted text

fn N . ...

Footnote text (see also [N])

-...-

Removed text

Inline rules

_..._

Emphasized text

...[N]

Footnote index

_ _..._ _

Italicized text

ABC(...)

Acronym

^...^

Superscript

Textile links

~...~

Subscript

http://...

HTTP link

Image rule

www....

HTTP link

!url!

Image

ftp://...

FTP link

!url(title)!

Image with title

mailto:...

Email link

!url!:http://...

Image link

"text":http://...

Link with anchor

Code

"text(...)":http://...

Link with title

@...@

Inline code

Tables

<code>...</code>

Inline code

| ... | ... |

Cells

<pre>...</pre>

Code block

|_. ... |_. ... |

Heading cells

<code class="lang">...</code>

|N. ... |

Cell merged horizontally

<pre><code class="lang">

...

</code></pre>

|/N. ... |

Cell merged vertically

!rule

Disabling rule

Horizontal line markers

Disabling formatting

--- or *** or _ _ _

<notextile>...</notextile>

The syntax rules that are provided by Redmine itself are the following:

Wiki links

Issue links

[[...]]

Link to a Wiki page

#N

Link to an issue

[[...#section]]

Link to a section

#N-X

Link to a note

[[...|text]]

Link with an anchor

#N#note-X

Link to a note

[[project:...]]

Link to another project

Repository links

[[project:...#section|text]]

rN

Link to a revision

Version links

commit:id

Link to a revision

version#N

Link by ID

source:path

Link to a file

version:...

Link by name

source:path@rev

Link to a file in revision

project:version:...

Link to another project

source:path#LN

Link to a line

Attachment links

source:path@rev#LN

Link to a line in a revision

attachment:file

Link to an attachment

export:path

File download

Project links

repo|rN

Link to a revision

project:project

Link to a project

commit:repo|id

Link to a revision

project:"..."

Link by name

source:"repo|path"

Link to a file

News links

export:repo|path

File download

news#N

Link by ID

project:rN

Revision in a project

news:"..."

Link by title

project:commit:id

Revision in a project

project:news:"..."

Link to another project

project:source:path

File in a project

Forum links

project:export:path

Download from a project

forum#N

Link by ID

Document links

forum:"..."

Link by name

document#N

Link by ID

message#N

Link by ID

document:"..."

Link by title

project:forum:"..."

Link to another project

project:document:"..."

Link to another project

Macros

{{toc}}

Table of contents

{{collapse(hint)

...

}}

Collapsed block

{{thumbnail(image.png)}}

{{thumbnail(image.png, size=100)}}

{{child_pages(page)}}

Child pages index

{{thumbnail(image.png, title=...)}}

{{child_pages(depth=N)}}

{{include(page)}}

Include a Wiki page

{{child_pages(parent=1)}}

{{include(project:page)}}

{{macro_list}}

List of macros

The following are advanced style options that are provided by the Textile markup language:

Advanced options (used inside syntax rules)

Alignment

Padding

<

Align to left

(

Left padding

=

Align centrally

)

Right padding

<>

Justify

(()

Both paddings

>

Align to right

CSS

^

Align to top

(css classes)

CSS class names

-

Align to middle

{css-rule}

CSS style rules

~

Align to bottom

[lang]

Language

Special rules (intended for the use of advanced options)

%options...%

Phrase options

table<options>.

Table options

Finally, here are the syntax rules that are provided by the Markdown markup language:

Block rules

List rules

#

First-level heading

1.

Numbered list item

##

Second-level heading

1.

Nested numbered list item

###

Third-level heading

*

Bulleted list item

####

Fourth-level heading

*

Nested bulleted list item

#####

Fifth-level heading

Phrase rules

######

Sixth-level heading

**...**

Strong text

>

Quote

~~...~~

Removed text

>>

Second-level quote

*...*

Emphasized text

Footnotes

^...

Superscript

[^X]: ...

Footnote text

***...***

Strong emphasize text

[^X]

Inline footnote index

Image rule

Markdown links

![](url)

Image

http://...

HTTP link

![title](url)

Image with title

www….

HTTP link

Code

ftp://...

FTP link

`...`

Inline code

user@host

Email link

~~~ lang

...

~~~

[text](http://...)

Link with anchor

Tables

| ... | ...|

Cells

Table column alignment

|---|---|

Line between heading and body

|:---|

Align to the left

Horizontal line marker

|:---:|

Align centrally

---

|---:|

Align to the right

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset