Quick syntax reference

Here are syntax rules provided by the Textile markup language:

Block markers

List markers

p.

Starts 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.

Forth-level heading

#*

Nested mixed list item

h5.

Fifth-level heading

Phrase markers

h6.

Sixth-level heading

*...*

Strong text

bq.

Quote block

**...**

Bold text

>

Quote

??...??

Citation

>>

Second-level quote

+...+

Inserted text

fnN.

Footnote text (see also [N])

-...-

Removed text

Inline markers

_..._

Emphasized text

...[N]

Footnote index

__...__

Italicized text

ABC(...)

Acronym

^...^

Superscript

Textile links

~...~

Subscript

http://...

HTTP link

Image marker

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

Horizontal line markers

Disabling formatting

--- or *** or ___

<notextile>...</notextile>

Extensions for Textile provided by Redmine:

Redmine links

Wiki links

Issue links

[[...]]

Link to Wiki page

#N

Link to issue

[[...#section]]

Link to section

#N-note

Link to note

[[...|text]]

Link with anchor

#N#note-note

Link to note

[[project:...]]

Link to other projects

Repository links

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

rN

Link to revision

Version links

commit:id

Link to revision

version#id

Link by ID

source:path

Link to file

version:...

Link by name

source:path@rev

Link to file in rev.

project:version:...

Link to other projects

source:path#LN

Link to line

Attachment links

source:path@rev#LN

Link to line in rev.

attachment:file

Link to attachment

export:path

File download

Project links

repo|rN

Link to revision

project:project

Link to project

commit:repo|rev

Link to revision

Project:"..."

Link by name

source:"repo|path"

Link to file

News links

export:repo|path

File download

news#id

Link by ID

project:rN

Revision in project

news:"..."

Link by title

project:commit:rev

Revision in project

project:news:"..."

Link to other projects

project:source:path

File in project

Forum links

project:export:path

Download from project

forum#id

Link by ID

Document links

forum:"..."

Link by name

document#id

Link by ID

message#id

Link by ID

document:"..."

Link by title

project:forum:"..."

Link to other projects

project:document:"..."

Link to other proj.

Macros

{{toc}}

Table of contents

{{collapse(hint)...}}

Collapsed block

{{thumbnail(image.png)}}

{{child_pages}}

Child pages index

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

{{child_pages(page)}}

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

{{child_pages(depth=3)}}

{{include(page)}}

Include Wiki page

{{child_pages(parent=1)}}

{{include(project:page)}}

{{macro_list}}

List of macros

Advanced style options provided by the Textile markup language:

Advanced options (used inside other 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 middle

{css-style}

CSS style rules

~

Align to bottom

[lang]

Language

Special markers (for styles)

%options...%

Phrase options

table<options>.

Table options

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

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