[Bps-public-commit] jifty-plugin-wikitext branch, master, updated. f454ab29336efcc574a7b8998246f3ee49905ab4

sartak at bestpractical.com sartak at bestpractical.com
Wed Nov 4 16:17:58 EST 2009


The branch, master has been updated
       via  f454ab29336efcc574a7b8998246f3ee49905ab4 (commit)
      from  21d284a45b4a608913c0890513e485a8b7796686 (commit)

Summary of changes:
 lib/Jifty/Plugin/Wikitext.pm |   41 +++++++++++++++++++++++++++++++++++++++++
 1 files changed, 41 insertions(+), 0 deletions(-)
 create mode 100644 lib/Jifty/Plugin/Wikitext.pm

- Log -----------------------------------------------------------------
commit f454ab29336efcc574a7b8998246f3ee49905ab4
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Wed Nov 4 16:17:45 2009 -0500

    Main module and its documentation

diff --git a/lib/Jifty/Plugin/Wikitext.pm b/lib/Jifty/Plugin/Wikitext.pm
new file mode 100644
index 0000000..c609b30
--- /dev/null
+++ b/lib/Jifty/Plugin/Wikitext.pm
@@ -0,0 +1,41 @@
+package Jifty::Plugin::Wikitext;
+use strict;
+use warnings;
+use base 'Jifty::Plugin';
+
+our $VERSION = '0.01';
+
+1;
+
+__END__
+
+=head1 NAME
+
+Jifty::Plugin::Wikitext - Wikitext field renderer
+
+=head1 USAGE
+
+Add the following to your site_config.yml
+
+ framework:
+   Plugins:
+     - Wikitext: {}
+
+Then for any form field that should be rendered as wikitext, use
+C<render as 'wikitext'>, like so:
+
+    column content =>
+        render as 'wikitext';
+
+=head1 SEE ALSO
+
+L<Jifty::Plugin::Userpic>
+
+=head1 COPYRIGHT AND LICENSE
+
+Copyright 2009 Best Practical Solutions
+
+This is free software and may be modified and distributed under the same terms as Perl itself.
+
+=cut
+

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list