---
title: Textile
category: Markup
layout: 2017/sheet
updated: 2017-09-20
weight: -1
---
## Reference
{: .-three-column}
### Inlines
| Code | Description |
| --- | --- |
| `_em_` | |
| `*strong*` | |
| `__bold-italic__` | |
| `@code@` | |
| `??citation??` | |
| --- | --- |
| `-strikethrough-` | |
| `+insertion+` | |
| --- | --- |
| `%span%` | HTML tag |
| `%{color:red}formatting%` | CSS styles |
| --- | --- |
### Blocks
```textile
h1. Header 1
```
```textile
h2. Header 2
```
```textile
bq. Blockquote
```
```textile
p(classname). Class.
```
```textile
p(#id). ID.
```
### Lists
```textile
## ordered list
```
```textile
* unordered list
```
### Links
| Code | Description |
| --- | --- |
| `"Hypertext":index.html` | Link |
| --- | --- |
| `"Text link":link`
`[link]http://link.com` | Link via reference |
### Images
| Code | Description |
| --- | --- |
| `!image.jpg!` | Image |
| `!image.jpg(title text)!` | |
| `!image.jpg!:link.html` | |
| `!>right.jpg!` | |
### Escaped HTML
```html
I am very serious. -- this will get escaped.``` ### Line breaks ```textile Line breaks. Just break the lines. ``` ### Entities ```textile one(TM), two(R), three(C). ``` ### Horizontal line ```textile -- ``` ### Footnotes ```textile Footnotes[1]. ``` ```textile fn1. Something. ```