Writing and formatting with Textile

Textile is a lightweight markup language. Textile converts its marked-up text input to valid, well-formed XHTML and also inserts character entity references for apostrophes, opening and closing single and double quotation marks, ellipses and em dashes. The main advantage of Textile over pure HTML is the ease of creating elements like tables, lists and formatting paragraphs. Those new to Textitle, following guide will help you become familiar with the full list of shortcuts.

File extention with .textile is the valid Textile document.

Header 1

h1. Header 1

Header 2

h2. Header 2

Header 3

h3. Header 3

This is italicized

This is _italicized_

This is bold

This is *bold*
  • Bulleted item 1
  • Bulleted item 2
* Bulleted item 1
* Bulleted item 2
  1. Numbered item 1
  2. Numbered item 2
# Bulleted item 1
# Bulleted item 2

text link

"text link":https://milanaryal.com.np

Embed an image:

!http://www.example.com/image.png!

Blockquoted Text

bq. Blockquoted Text

Embed Code:

To get this:

/* Code Block */
#include <stdio.h>
#include <stdlib.h>
  int main()

Do this:

<pre><code>
/* Code Block */
#include <stdio.h>
#include <stdlib.h>
  int main()
</code></pre>

Further resources