| 1 |
/* $Id: README.txt,v 1.4.2.1 2008/02/17 18:01:55 havran Exp $ */
|
| 2 |
Texy! 2 Drupal module
|
| 3 |
|
| 4 |
Author: Juraj Chlebec <havran (at) gmail.com>
|
| 5 |
Copyright 2006-2007 Juraj Chlebec aka Havran
|
| 6 |
Portions copyright 2007 archetwist <arche (at) letwist.net>
|
| 7 |
|
| 8 |
Licensed under the GPL v2.0
|
| 9 |
|
| 10 |
About
|
| 11 |
-----------------------------
|
| 12 |
The Texy! module allows you to integrate the Texy! text-to-XHTML formatter
|
| 13 |
and converter library into Drupal.
|
| 14 |
|
| 15 |
The library allows you to enter content using an easy to read syntax which is
|
| 16 |
filtered into structurally valid XHTML. No knowledge of HTML is required.
|
| 17 |
|
| 18 |
Texy! is one of the most complex formatting tools. It allows adding of images,
|
| 19 |
links, nested lists, tables and has a full support for CSS.
|
| 20 |
|
| 21 |
Installation
|
| 22 |
-----------------------------
|
| 23 |
1) Extract the 'texy/' directory from inside the module package to the
|
| 24 |
'sites/all/modules/' directory of your Drupal installation. This package
|
| 25 |
includes also the needed Texy! library, and auto-detects the correct
|
| 26 |
version, so no additional downloads needed. But however, you might want
|
| 27 |
to check the official website http://texy.info/en/download for possible
|
| 28 |
updates (replace files inside the 'sites/all/modules/texy/texy'
|
| 29 |
subdirectory).
|
| 30 |
|
| 31 |
2) Enable the module at admin/build/modules.
|
| 32 |
|
| 33 |
3) Create a new data format at admin/settings/filters/add and assign the Texy!
|
| 34 |
filter to it. Give your users permission to use the new format.
|
| 35 |
|
| 36 |
You're done!
|
| 37 |
|
| 38 |
Documentation
|
| 39 |
------------------------------
|
| 40 |
A quick reference of the syntax can be found at your Drupal's filter/tips page.
|
| 41 |
The http://texy.info/en/syntax page provides some more elaborate examples.
|
| 42 |
|
| 43 |
Texy! modules
|
| 44 |
------------------------------
|
| 45 |
For better modularity is Texy! module now expandable with own modules. You can
|
| 46 |
look at Image settings module and Syntax highlighting module for overview.
|
| 47 |
|
| 48 |
Texy! module now provide two hooks:
|
| 49 |
|
| 50 |
hook_texy_handler(&texy)
|
| 51 |
hook_texy_settings(&texy)
|
| 52 |
|
| 53 |
With this hooks you can expand Texy! module with your own modifications (look
|
| 54 |
at directory examples in Texy! distribution).
|