File tree Expand file tree Collapse file tree 1 file changed +11
-14
lines changed Expand file tree Collapse file tree 1 file changed +11
-14
lines changed Original file line number Diff line number Diff line change @@ -189,21 +189,18 @@ 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
- warn $ v . perl ;
196
- shell ' vim' ;
197
-
198
- die ;
199
- }
200
- CATCH {
201
- default {
202
- return " <pre>" ~ $ node . contents. join ~ " </pre>" ;
203
- }
204
- }
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
+ # }
205
202
206
- };
203
+ # };
207
204
pod2html $ pod ,
208
205
: url(& url ),
209
206
: $ head ,
You can’t perform that action at this time.
0 commit comments