Dashboard > blojsom > ... > Available Plugins > Textile Plugin
  blojsom Log In   View a printable version of the current page.  
  Textile Plugin
Added by David Czarnecki, last edited by David Czarnecki on Feb 22, 2006  (view change)
Labels: 
(None)

Description

The Textile plugin is an implementation of the amazing Textile Humane Web Text Generator. You can see the original at the Textism Textile site.

Installation and Setup

In your global /WEB-INF/plugin.properties file, add the following line:

textile=org.blojsom.plugin.textile.TextilePlugin

You may then add "textile" to one of the flavor-based plugin chains. These plugin chains can be found in the individual user's plugin.properties file. For example:

html.blojsom-plugin-chain=..., textile, ...

Usage

The following are various ways in which you can tell the Textile plugin that it should process the content of a given blog entry using the Textile engine.

Processing Textile entries by file extension

In your individual blog.properties file, be sure to add .*textile to the blog-file-extensions parameter value. The textile plugin uses .textile to identify blog entries that should be passed through the plugin for processing, so be sure your entries end with this extension if you want this plugin to work correctly.

Processing Textile entries based on blog entry meta-data

The textile plugin can also be run on entries not ending in a .textile extension by using the metadata plugin before the textile plugin in one of the flavor-based plugin chains. The metadata key for the textile plugin would be specified as

meta-run-textile=y

on a separate line in your blog entry text.

Processing Textile entries blog.properties configuration option

As of blojsom 2.30, you can add the following option in /WEB-INF/(blog-id)/blog.properties to specify that all entries should be processed through the Textile engine.

plugin-textile-process-all-entries=true

Site running on a free Atlassian Confluence Open Source Project License granted to blojsom. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.4 Build:#809 Jun 12, 2007) - Bug/feature request - Contact Administrators