Textile is a markup language with which texts can be easily formatted for publishing online.

The text editor has been renewed

A new, graphic text editor has been enabled in MyCashflow for formatting text with easy-to-use tools. If you are familiar with using Word, you'll do fine with the new editor too.

If you still use the old editor, read more about the text editor's update and how to enable it.

Textile lets you to, for instance

  • add images, hyperlinks, lists and tables to the text.
  • format the text by using italics, bold and other inline formatting.

Textile does not require the command of HTML or any online publishing technology; it has been designed as an easy-to-use writing tool right from the start.

You can use Textile markup in all MyCashflow text fields, in which Textile markup has been mentioned.

By using the MyCashflow text editor's formatting tool, you can add many of Textile's markups without having to type them yourself. See also the instructions to the text editor.

Textile guide for MyCashflow merchants

The list below presents the most common and useful Textile markup used in online stores' text fields.

To learn more about Textile and practice using Textile markup, go to http://txstyle.org/

Leave an empty line after each line that contains Textile markup so that the text can be correctly formatted. This doesn't apply to list items and the space left between table rows.

Lists

List typeTextile markupOutput format
Unordered list

* First item

* Second item

** First sub-item

**Second sub-item

*** Lower-level item

* Third item

  • First item
  • Second item
    • First sub-item
    • Second sub-item
      • Lower-level item
  • Third item
Ordered list

# First item

# Second item

## First sub-item

## Second sub-item

### Lower-level item

## Third item

  1. First item

  2. Second item

    1. First sub-item

    2. Second sub-item
      1. Lower-level item
  3. Third item
Mixed list types

* First item

* Second item

## First sub-item

## Second sub-item

*** Lower-level item

* Third item

  • First item
  • Second item
    1. First sub-item
    2. Second sub-item
      • Lower-level item
  • Third item
Definition list

- Concept 1 := Single-line definition

- Concept 2 := Second single-line definition

- Concept 3 := Multiple-line definitions are as easy to add as the single-line ones. =:

Concept 1

Single-line definition

Concept 2

Second single-line definition

Concept 3

Multiple-line definitions are as easy to add as the single-line ones.

Inline formatting

Inline formattingTextile markupOutput format
Italics

_italics_

italics
Bold

*bold*

bold
Insertion

+insertion+

Insertion
Strikethrough

-strikethrough-

Yliviivaus
Coloring
p{color:blue;}. A phrase in blue
A phrase in blue

Images

Image typeTextile markup
Image from the store's file directory

!/files/katapultti.jpg!

Image from an external address

!https://www.mycashflow.fi/themes/promo/i/mycashflow-logo.png!

Image with alt/title texts (used i.a. with screenreading devices)

!/files/catapult.jpg(A magnificent catapult from 11th century)!

Image with a CSS class

!(css_luokka)/files/catapult.jpg!

Image with a CSS style

!{ border: solid 5px purple; }/files/catapult.jpg!

Links

Link typeTextile markupOutput format
Internal location

"Link text":/docs/pages/viewpage.action?pageId=5013609

Link text
External location

"Link text":http://en.wikipedia.org/wiki/Catapult

Link text
Link address visible

"$":http://en.wikipedia.org/wiki/Catapult

http://en.wikipedia.org/wiki/Catapult
Email link

"Email the author":mailto:someone@example.com

Email the author
Image as a link

!https://www.mycashflow.fi/images/mycashflow-logo.png!:https://www.mycashflow.fi

Tables

Table structureTextile markupOutput format
Ordinary, 2-row table

|Cell|Cell|Cell|Cell|

|Cell||Cell|Cell|

CellCellCellCell
CellCellCell
Two-row table with heading row

|_. Heading |_. Heading |_. Heading |_. Heading|

|Cell|Cell|Cell|Cell|

|Cell||Cell|Cell|

TitleTitleTitleTitle
CellCellCellCell
CellCellCell
Table with a CSS-style

table{background-color: red;}.

|Cell|Cell|Cell|

|Cell|Cell|Cell|

|Cell|Cell|Cell|

CellCellCell
CellCellCell
Table with a CSS style and class

table(css_luokka){background-color: red;}.

|Cell|Cell|Cell|

|Cell|Cell|Cell|

|Cell|Cell|Cell|

CellCellCell
CellCellCell
CellCellCell

Headings

Make sure that you add a line feed at the end of each heading.

h1. Heading 1

h2. Heading 2

h3. Heading 3

h4. Heading 4

h5. Heading 5

h6. Heading 6

Paragraphs and line feeds

The MyCashflow text editor automatically adds a new paragraph every time you press Enter, but if you'd like to make a difference between a new paragraph and a line feed, use the following markup.

New paragraphPress the Enter key or add p. at the beginning of the new paragraph
Line feedPress Shift+Enter at the end of the line

HTML and Textile

Textile markup is automatically converted into HTML format, but you can also use HTML markup directly in Textile.

<p>This is a paragraph</p>

<p>This is the <em>second paragraph</em></p>

* This is a list, ...

* with ...

* three items, ...

** and one sub-item.

<p>And here you can see two images, one presented by using HTML and another by using Textile.</p>

<img src="https://www.mycashflow.fi/themes/promo/i/mycashflow-logo.png" />

!https://www.mycashflow.fi/themes/promo/i/mycashflow-logo.png!

This is a paragraph

This is the second paragraph

  • This is a list, ...
  • with ...
  • three items, ...
    • and one sub-item.

And here you can see two images, one presented by using HTML and another by using Textile.

Overriding Textile

If you'd like to write a text that shouldn't be affected by Textile, use the notextile block.

notextile..

In this _contents_ *Textile markup* is disregarded, which means that the -text will be printed on the screen- without any modifications.

|No |Textile markup |at all

In this _contents_ *Textile markup* is disregarded, which means that the -text will be printed on the screen- without any modifications.

|No |Textile markup |at all