Browse Source

+ block quotes

master
Zubrikhin Alexey 10 years ago
parent
commit
856480f14b
  1. 6
      lib/Text/Dokuwiki.pm

6
lib/Text/Dokuwiki.pm

@ -76,6 +76,12 @@ sub parse {
push @{ $buf }, [li => {}, 0 => $2]; push @{ $buf }, [li => {}, 0 => $2];
next; next;
} }
# quotes
when (m/^\s?(>)+\s*(.+)/o) {
my $level = $1 =~ tr/>/>/;
push @{ $tree }, [blockquote => {level => $level}, 0 => $2];
next;
}
# table # table
when (m/^\s?[\|\^]/o) { when (m/^\s?[\|\^]/o) {
$mode = 'table'; $mode = 'table';

Loading…
Cancel
Save