Example of including a file

Basic tests

Advanced Lists

org-ruby supports the following list features of org-mode:

Nested lists

Note the list ends just some more text. Make sure both list blocks are closed.

Multi-paragraph list items

This list will end with the end-of-file. Make sure all blocks are closed.

Hyphen, Plus and Asterisk can be used to create lists

BLOCKCOMMENT

Testing that the next part is ignored

And now back to normal!

Within a commented block

<li>[ ] &#8220;smart quotes&#8221;</li> 
<li>[ ] I think I need this for &#8216;single quotes&#8217; too. Don&#8217;t I?</li> 
<li>[ ] Em dashes would be great &#8212; wouldn&#8217;t they?</li> 
<li>[ ] I hope to develop an en dash sometime in 2010 &#8211; 2011.</li> 

Within a center block

The following included file will be centered:

Inline Images

Per the org-mode spec, you can include inline images as links without any descriptive link text, like this:

http://farm5.static.flickr.com/4049/4358074549_5efb8b4903.jpg

I currently do not support the caption/link syntax, but I can include the inline image. I recognize the following image file types:

Within a blockquote

This is similar to the center block:

Before Inline Images

Per the org-mode spec, you can include inline images as links without any descriptive link text, like this:

http://farm5.static.flickr.com/4049/4358074549_5efb8b4903.jpg

I currently do not support the caption/link syntax, but I can include the inline image. I recognize the following image file types:

After

Within an example block, it should not be possible to include a file.

#+INCLUDE: "./spec/html_examples/only-list.org"

Within a list

Within a table, cannot be included

OneTwoThree
#+INCLUDE: “./spec/html_examples/only-list.org”FiveSix
SevenEightNine

When including a file as an example

- This file has only a list
- Note it will end with nothing other than a list item.
- the world wants to know: Will org-ruby write the closing ul tag?

When including a file as an quote