Re: ikiwiki-plugin-syntax
Hi,
I am hoping that the packaging is coming along for these.
I do have a feature request: The script code injected into the
html in ikiwiki does not have a class directive, which makes it hard to
set css styles for it.
Specifically, in /usr/share/perl5/IkiWiki/Plugin/syntax.pm,
looking at the sub _manual_output, if we could change:
--8<---------------cut here---------------start------------->8---
if (defined $params{text}) {
push(@html, sprintf "<pre>\n%s\n</pre>", $params{text} );
}
--8<---------------cut here---------------end--------------->8---
Into:
--8<---------------cut here---------------start------------->8---
if (defined $params{text}) {
push(@html, sprintf "<pre class=\"syntax\">\n%s\n</pre>",
$params{text} );
}
--8<---------------cut here---------------end--------------->8---
It would help a lot.
manoj
--
It is the wise bird who builds his nest in a tree.
Manoj Srivastava <srivasta@acm.org> <http://www.golden-gryphon.com/>
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C
Reply to: