Toby Inkster committed 7474d29

change =for command to make it less weird-looking

Comments (0)

Files changed (1)


 		my ($method, $input) = @_;
 		my $tmp;
-		my $p = "TOBYINK::Pod::HTML::Helper"->new;
-		$p->accept_targets(__PACKAGE__);
+		my $p = (__PACKAGE__."::Helper")->new;
+		$p->accept_targets(qw/ highlighter /);
 		return $tmp;
 		# Non-useful comments
 		$_->parentNode->removeChild($_) for
-			grep { not /for TOBYINK::Pod::HTML/ }
+			grep { not /for (highlighter)/ }
 		# Drop these <a name> elements
 =head2 Alternative Syntax Highlighting
-=for TOBYINK::Pod::HTML language=Text
+=for highlighter language=Text
 This module defines an additional Pod command to change the language for
 syntax highlighting. To tell TOBYINK::Pod::HTML to switch to, say, Haskell
 instead of the default (Perl), just use:
-   =for TOBYINK::Pod::HTML language=Haskell
+   =for highlighter language=Haskell
 Then all subsequent code samples will be highlighted as Haskell, until
 another such command is seen.
 The following command can be used to switch to plain text syntax highlighting
 (i.e. no highlighting at all):
-   =for TOBYINK::Pod::HTML language=Text
+   =for highlighter language=Text
-=for TOBYINK::Pod::HTML language=Perl
+=for highlighter language=Perl
 =head1 SEE ALSO
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.