SID-01121: Is skin or plugin needed?
| Status: |
Answered |
TWiki version: |
5.0.0 |
Perl version: |
5.8 |
| Category: |
CategorySkin |
Server OS: |
Redhat |
Last update: |
14 years ago |
I would like to be able to use the following module to display source code on twiki. I was wondering whether I can achive this using a skin or do I need to create a new Twiki plugin.
The module only involves a .css and a .js file
http://code.google.com/p/google-code-prettify/
FemiByte
--
AnthonyOlufemi - 2011-03-03
Discussion and Answer
As indicated in our registration page, please register with your real name (
AnthonyOlufemi?). I removed the FemiByte account.
TWiki already has several syntax highlighters,
Extensions:syntax_highlighting
. For a low level integration of the Google prettify you could simply add the CSS and JS to TWiki, for example to the WEBCOPYRIGHT preferences setting to have it exposed to all pages. For a usable integration you would need to create a new plugin.
I invite you to
get involved and create a new
GoogleCodePrettifyPlugin!
--
PeterThoeny - 2011-03-03
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.