Tags:
create new tag
view all tags

SID-01121: Is skin or plugin needed?

Status: Answered 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

      Change status to:
ALERT! 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.
SupportForm
Status Answered
Title Is skin or plugin needed?
SupportCategory CategorySkin
TWiki version 5.0.0
Server OS Redhat
Web server Apache
Perl version 5.8
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2011-04-18 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.