mirror of https://github.com/openresty/openresty
use resty-cli's md2pod.pl script to do the Markdown -> POD conversion since the perl CPAN module Markdown::Pod is both buggy and slow to install. thanks Paul Buonopane for the report in #175.
also upgraded resty-cli to 0.07rc1 for the md2pod.pl script.pull/177/head
parent
bdaea38b7d
commit
7a2e4881b8
@ -1,20 +0,0 @@
|
||||
#!/usr/bin/env perl
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
my $indented;
|
||||
while (<>) {
|
||||
if (/^ \S/) {
|
||||
$indented = 1;
|
||||
print;
|
||||
next;
|
||||
}
|
||||
if ($indented) {
|
||||
if (/^[^-\#=\s]/) {
|
||||
print "\n";
|
||||
}
|
||||
undef $indented;
|
||||
}
|
||||
print;
|
||||
}
|
Loading…
Reference in New Issue