An emacs major mode for Textile markup language editing.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Initial commit Feb 6, 2015
LICENSE Initial commit Feb 6, 2015 Update Feb 6, 2015
textile-mode.el Better pre/code font lock Mar 4, 2017


An emacs major mode for Textile markup language editing.

What is textile ?

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

More information on the markup can be found here :

Manual 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.