GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SVN::Notify::Filter::Markdown(3) User Contributed Perl Documentation SVN::Notify::Filter::Markdown(3)

SVN::Notify::Filter::Markdown - Convert SVN::Notify log messages from Markdown to HTML

Use svnnotify in post-commit:

  svnnotify --p "$1" --r "$2" --to you@example.com --handler HTML \
  --filter Markdown

Use the class in a custom script:

  use SVN::Notify;

  my $notifier = SVN::Notify->new(
      repos_path => $path,
      revision   => $rev,
      to         => 'you@example.com',
      handler    => 'HTML::ColorDiff',
      filters    => [ 'Markdown' ],
  );
  $notifier->prepare;
  $notifier->execute;

This module filters SVN::Notify log message output to convert it from Markdown format to HTML. Essentially, this means that if you write your commit log messages in Markdown format and like to use SVN::Notify::HTML or SVN::Notify::HTML::ColorDiff to format your commit notifications, you can use this filter to convert the Markdown formatting in the log message to HTML. Just pass "--filter Markdown" to your call to "svnnotify" in post-commit and you're good to go.

If you don't know what any of this means, read the SVN::Notify documentation. It talks about using SVN::Notify to send nicely formatted emails for every Subversion commit. This module just makes them even more nicely formatted.

SVN::Notify
Text::Markdown
<http://daringfireball.net/projects/markdown/>

This module is stored in an open GitHub repository <http://github.com/theory/svn-notify-filter-markdown/>. Feel free to fork and contribute!

Please file bug reports via GitHub Issues <http://github.com/theory/svn-notify-filter-markdown/issues/> or by sending mail to bug-SVN-Notify-Filter-Markdown@rt.cpan.org <mailto:bug-SVN-Notify-Filter-Markdown@rt.cpan.org>.

David E. Wheeler <david@justatheory.com>

Copyright (c) 2008-2011 David E. Wheeler. Some Rights Reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

2022-04-09 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.