Skip to content

Commit

Permalink
Updates Textile examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
vonavi committed Dec 20, 2012
1 parent ffda755 commit f4d593f
Show file tree
Hide file tree
Showing 9 changed files with 33 additions and 29 deletions.
7 changes: 4 additions & 3 deletions spec/textile_examples/block_code.textile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
h1. Block Code

I need to get block code examples working. In @orgmode@, they look
p. I need to get block code examples working. In @orgmode@, they look
like this:

bc..
Expand All @@ -18,9 +18,10 @@ bc..

p. And now I should be back to normal text.

Putting in another paragraph for good measure.
p. Putting in another paragraph for good measure.

Code should also get cancelled by a list, thus:

p. Code should also get cancelled by a list, thus:

bc.. This is my code!

Expand Down
8 changes: 5 additions & 3 deletions spec/textile_examples/blockquote.textile
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
BLOCKQUOTE
p. BLOCKQUOTE

p. Testing that I can have block quotes:

Testing that I can have block quotes:


bq. _Example:_

bq. This is blockquote text.


And now I'm back to normal text!

p. And now I'm back to normal text!
4 changes: 2 additions & 2 deletions spec/textile_examples/center.textile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

not center
p. not center

p=. center

not center, again
p. not center, again
8 changes: 4 additions & 4 deletions spec/textile_examples/footnotes.textile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@

Hello[4500512458992657954]
World[4500512458992657954]
p. Hello[3172870960376162564]
World[3172870960376162564]

Bfoo[1]
p. Bfoo[1]

fn4500512458992657954. definition of abc
fn3172870960376162564. definition of abc

fn1. *blub*
8 changes: 4 additions & 4 deletions spec/textile_examples/keywords.textile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
KEYWORDS
p. KEYWORDS

By default, I don't want keywords exported to textile.
p. By default, I don't want keywords exported to textile.

h1. Recognize standard keywords

The standard @orgmode@ keywords are TODO and DONE. Recognize those.
p. The standard @orgmode@ keywords are TODO and DONE. Recognize those.

h1. Recongize buffer-specific keywords

There's a way to define a custom keyword list in a buffer. Research
p. There's a way to define a custom keyword list in a buffer. Research
that and handle it.
4 changes: 2 additions & 2 deletions spec/textile_examples/links.textile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
LINKS
p. LINKS

"http://www.bing.com":http://www.bing.com
p. "http://www.bing.com":http://www.bing.com

h1. Supported Link Styles

Expand Down
6 changes: 3 additions & 3 deletions spec/textile_examples/lists.textile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
h1. Lists

I want to make sure I have great support for lists.
p. I want to make sure I have great support for lists.

* This is an unordered list
* This continues the unordered list

And this is a paragraph *after* the list.
p. And this is a paragraph *after* the list.

h2. Wrapping within the list

Expand All @@ -32,5 +32,5 @@ line to keep @textile@ happy.
h2. Edge cases

* This is a single-line list.
And this is a *separate paragraph.* Note the indentation in the org
p. And this is a *separate paragraph.* Note the indentation in the org
file.
4 changes: 2 additions & 2 deletions spec/textile_examples/single-space-plain-list.textile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
h2. Anatomy of a BVP

Each BVP followed a simple, one-page template with the following
p. Each BVP followed a simple, one-page template with the following
parts:

* Customer Summary
* Storyboard
* Requirements
* Partner teams

The following sections walk through each section and give an
p. The following sections walk through each section and give an
example from one of our BVPs, "Resource-Smart Virtualization
Infrastructure":http://windows/hyper-v/initiatives/Value%20Propositions/DynamicDatacenter-ValueProp.docx (also called _Dynamic Datacenter_).
13 changes: 7 additions & 6 deletions spec/textile_examples/tables.textile
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
TABLES
p. TABLES

Different types of ORG tables.
p. Different types of ORG tables.

h1. Simple table, no header.

| Cell one | Cell two |
| Cell three | Cell four |


h1. Indented table

| Cell one |
| Cell two |

And here's some paragraph content. The line breaks will need to get
p. And here's some paragraph content. The line breaks will need to get
removed here, but not for the tables.

h1. Table with header
Expand All @@ -21,15 +22,15 @@ h1. Table with header
| Four | Five | Six |
| Seven | Eight | Nine |

The separator row should not get printed out.
p. The separator row should not get printed out.

h1. Table with complete box

| One | Two | Three |
| Four | Five | Six |
| Seven | Eight | Nine |

Only the first row should be a header row.
p. Only the first row should be a header row.

h1. Table with extra lines

Expand All @@ -38,4 +39,4 @@ h1. Table with extra lines
| Seven | Eight | Nine |
| Ten | Eleven | Twelve |

Only the first row should be a header row.
p. Only the first row should be a header row.

0 comments on commit f4d593f

Please sign in to comment.