Browse Source

* add handler for code

master
Alex 'AdUser' Z 10 years ago
parent
commit
7943179ea5
  1. 1
      lib/Text/Dokuwiki/Render/Markdown.pm

1
lib/Text/Dokuwiki/Render/Markdown.pm

@ -46,6 +46,7 @@ sub ol { my $self = shift; $self->_list(@_); };
sub b { my $self = shift; $self->_wrap('**', @_); } # bold sub b { my $self = shift; $self->_wrap('**', @_); } # bold
sub i { my $self = shift; $self->_wrap('*', @_); } # italics sub i { my $self = shift; $self->_wrap('*', @_); } # italics
sub u { my $self = shift; $self->_wrap('*', @_); } # underline, replace with italics sub u { my $self = shift; $self->_wrap('*', @_); } # underline, replace with italics
sub code { my $self = shift; $self->_wrap('`', @_); } # inline code
sub div { sub div {
my ($self, $attrs, $content) = @_; my ($self, $attrs, $content) = @_;

Loading…
Cancel
Save