You are here

README.txt in GeSHi Filter for syntax highlighting 5.2

Same filename and directory in other branches
  1. 8.2 README.txt
  2. 8 README.txt
  3. 5 README.txt
  4. 6 README.txt
  5. 7 README.txt
****************************
GeSHi Filter (Drupal Module)
****************************


DESCRIPTION
-----------
The GeShi Filter is a Drupal module for syntax highlighting of pieces of
source code. It implements a filter that formats and highlights the syntax of
source code between for example <code>...</code>.


DEPENDENCY
----------
This module requires the third-party library: GeShi (Generic Syntax
Highlighter, written by Nigel McNie) which can be found at
  http://qbnz.com/highlighter
See installation procedure below for more information.


INSTALLATION
------------
1. Extract the GeSHi Filter module tarball and place the entire geshifilter
  directory into your Drupal setup (e.g. in sites/all/modules).

2. Download the GeSHi library (version 1.0.x) from  http://qbnz.com/highlighter
  and place the entire extracted 'geshi' folder (which contains geshi.php)
  in the geshifilter directory (e.g. as /sites/all/modules/geshifilter/geshi)

3. Enable this module as any other Drupal module by navigating to
  administer > site building > modules


CONFIGURATION
-------------
1. The general GeSHi Filter settings can be found by navigating to:
  administer > site configuration > geshifilter
2. Further configuration instructions can be found by following the
  "more help..." link at the top of that general settings page, which leads
  to www.example.com/?q=admin/help/geshifilter .


USAGE
-----
The basic usage (with the default settings) is:
  <code language="java">
  for (int i; i<10; ++i) {
    dothisdothat(i);
  }
  </code>
When language tags are enabled (like "<java>" for Java) you can also do
  <java>
  for (int i; i<10; ++i) {
    dothisdothat(i);
  }
  </java>
More options and tricks can be found in the filter tips of the input format at
www.example.com/?q=filter/tips .


AUTHORS
-------
Original module by:
  Vincent Filby <vfilby at gmail dot com>

Drupal.org hosted version for Drupal 4.7:
  Vincent Filby <vfilby at gmail dot com>
  Michael Hutchinson (http://compsoc.dur.ac.uk/~mjh/contact)
  Damien Pitard <dpdev00 at gmail dot com>

Port to Drupal 5:
  rötzi (http://drupal.org/user/73064)
  Stefaan Lippens (http://drupal.org/user/41478)

File

README.txt
View source
  1. ****************************
  2. GeSHi Filter (Drupal Module)
  3. ****************************
  4. DESCRIPTION
  5. -----------
  6. The GeShi Filter is a Drupal module for syntax highlighting of pieces of
  7. source code. It implements a filter that formats and highlights the syntax of
  8. source code between for example ....
  9. DEPENDENCY
  10. ----------
  11. This module requires the third-party library: GeShi (Generic Syntax
  12. Highlighter, written by Nigel McNie) which can be found at
  13. http://qbnz.com/highlighter
  14. See installation procedure below for more information.
  15. INSTALLATION
  16. ------------
  17. 1. Extract the GeSHi Filter module tarball and place the entire geshifilter
  18. directory into your Drupal setup (e.g. in sites/all/modules).
  19. 2. Download the GeSHi library (version 1.0.x) from http://qbnz.com/highlighter
  20. and place the entire extracted 'geshi' folder (which contains geshi.php)
  21. in the geshifilter directory (e.g. as /sites/all/modules/geshifilter/geshi)
  22. 3. Enable this module as any other Drupal module by navigating to
  23. administer > site building > modules
  24. CONFIGURATION
  25. -------------
  26. 1. The general GeSHi Filter settings can be found by navigating to:
  27. administer > site configuration > geshifilter
  28. 2. Further configuration instructions can be found by following the
  29. "more help..." link at the top of that general settings page, which leads
  30. to www.example.com/?q=admin/help/geshifilter .
  31. USAGE
  32. -----
  33. The basic usage (with the default settings) is:
  34. for (int i; i<10; ++i) {
  35. dothisdothat(i);
  36. }
  37. When language tags are enabled (like "" for Java) you can also do
  38. for (int i; i<10; ++i) {
  39. dothisdothat(i);
  40. }
  41. More options and tricks can be found in the filter tips of the input format at
  42. www.example.com/?q=filter/tips .
  43. AUTHORS
  44. -------
  45. Original module by:
  46. Vincent Filby
  47. Drupal.org hosted version for Drupal 4.7:
  48. Vincent Filby
  49. Michael Hutchinson (http://compsoc.dur.ac.uk/~mjh/contact)
  50. Damien Pitard
  51. Port to Drupal 5:
  52. rötzi (http://drupal.org/user/73064)
  53. Stefaan Lippens (http://drupal.org/user/41478)