I've tried all the documented ways of getting highlighting in my Spork presentations and nothing works. Help?
This is an example from the Spork pod. It fails to get recognized as markup.
.pretty. sub greet { # GGGGG print "Hello there\n"; # _______________ # RRRRR } .pretty.
.pretty.
sub greet {
print "Hello there\n";
}
.pretty.
I tried using Spork::Hilite as a plugin. This goes into config.yaml. If I insert this snippet of YAML into the Spork.slides file, it fails to recognize the section as YAML. I've quoted "Spork::Hilite" and 'Spork::Hilite'. I've tried an alternate representation plugin_classes: [ Spork::Hilite ]
plugin_classes: - Spork::Hilite
Can't use string ("") as an ARRAY ref while "strict refs" in use at .../lib/site_perl/5.8.7/Spoon/Registry.pm line 36.
In reply to Can't pretty print or use plugins in Spork by diotalevi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |