Textile-mode

Textile-mode is the first major mode I wrote for Emacs. It is designed to help editing documents in the Textile markup language.

For the moment it only does syntax highlighting, and it is really an alpha version. But if you want to test it, don't hesitate to send me your feedback.

Vadim Atlygin has made great improvements to this mode by turning it into a minor mode and providing an HTML conversion tool. You can find his code in the textile-minor-mode project page.

What is textile ?

Textile is a markup language created by the author of TextPattern. It is used by some Content Management System, wikis, and there are libraries to convert Textile into HTML for Ruby, Python or PHP.

More information on the markup can be found here :

Download

The latest version can be found at :

http://dev.nozav.org/scripts/textile-mode.el

Installation

Installation of Textile-mode is really nothing original. Put the file in a directory into your load-path, and then add the following into your .emacs :

(require 'textile-mode)

Then you can toggle manualy the major mode with M-x textile-mode or you can associate it with a file extension with :

(add-to-list 'auto-mode-alist '("\\.textile\\'" . textile-mode))

Bugs - Troubleshooting

If the syntax highlighting doesn't seem to be synchronized with your text, you can refresh it manually on a paragraph with M-g M-g, or globally by turning font-locking off and on.

There are some known limitations in the syntax highlighting : see the source code introduction for details.

And I remind you that it is my first-dirty-alpha-version-major-mode for Emacs, so you will find bugs. But the simple fact that you used it once is enough to make me happy. Really. And you even can send me a bug report if you wish !