From 8cef97543c6e91953fd7214aef62616485e0b8f6 Mon Sep 17 00:00:00 2001 From: Alex 'AdUser' Z Date: Tue, 14 Jul 2015 22:36:23 +1000 Subject: [PATCH] + add handler --- lib/Text/Dokuwiki/Render/Markdown.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Text/Dokuwiki/Render/Markdown.pm b/lib/Text/Dokuwiki/Render/Markdown.pm index b2cc526..20af9a8 100644 --- a/lib/Text/Dokuwiki/Render/Markdown.pm +++ b/lib/Text/Dokuwiki/Render/Markdown.pm @@ -44,6 +44,7 @@ sub ul { my $self = shift; $self->_list(@_); }; sub ol { my $self = shift; $self->_list(@_); }; sub b { my $self = shift; $self->_wrap('**', @_); } # bold +sub i { my $self = shift; $self->_wrap('*', @_); } # italics sub u { my $self = shift; $self->_wrap('*', @_); } # underline, replace with italics sub div {