File tree Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ install:
15
15
- panda install LWP::Simple
16
16
- panda install Algorithm::Soundex
17
17
- panda install DBIish
18
- - panda install Text::VimColour
18
+ # - panda install Text::VimColour
19
19
20
20
script :
21
21
- make test
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ use URI::Escape;
4
4
use Pod ::To::HTML;
5
5
use Pod ::Convenience;
6
6
use Perl6::Examples;
7
- use Text::VimColour;
7
+ # use Text::VimColour;
8
8
9
9
class Website is export {
10
10
has $ . categories is rw ;
@@ -189,17 +189,17 @@ class Website is export {
189
189
method p2h ($ pod ) {
190
190
my $ head = slurp ' template/head.html' ;
191
191
my $ footer = footer-html;
192
- my % * POD2HTML-CALLBACKS = code => sub (: $ node , : & default ) {
193
- try {
194
- my $ v = Text::VimColour. new (lang => ' perl6' , code => " { $ node . contents. join } " );
195
- return $ v . html;
196
- }
197
- CATCH {
198
- default {
199
- return " <pre>" ~ $ node . contents. join ~ " </pre>" ;
200
- }
201
- }
202
- };
192
+ # my %*POD2HTML-CALLBACKS = code => sub (:$node, :&default) {
193
+ # try {
194
+ # my $v = Text::VimColour.new(lang => 'perl6', code => "{$node.contents.join}");
195
+ # return $v.html;
196
+ # }
197
+ # CATCH {
198
+ # default {
199
+ # return "<pre>" ~ $node.contents.join ~ "</pre>";
200
+ # }
201
+ # }
202
+ # };
203
203
pod2html $ pod ,
204
204
: url(& url ),
205
205
: $ head ,
You can’t perform that action at this time.
0 commit comments