Tag-Archive for » Code-Presenter «

WP Plugins

Friday, 18. January 2008 16:00

Code-Presenter

Code-Presenter is a WordPress plugin to show code-snippets on an extra site, called "code browser". This allows your visitors a very flexible and well structured overview of your code. You can get more information here.

Category: Common | Comments (0) | Author: Fabian

Code-Presenter

Wednesday, 16. January 2008 18:40

Introduction:

Code-Presenter is a WordPress plugin designed for showing code on an extra page, called "code browser". Because I don't really like the normal way of including tons of lines of code in x(a)ml, C# or in whatever language I would post the code in my articles, I created a plugin that takes this code out of an article, saves it in an own database table and replaces the code with a normal xhtml link. This link opens a new page were you can see the corresponding code and other code snippets, posted in the same article.

The plugin is under further development. I will change, complete and add many features (with the necessary amount of time).

Feel free to visit my blog/this page continuously to be informed about the further development.

Features:

  1. Add the code as normal in the article (only surrounded by the tags),
  2. Separated storage of the code and the article text,
  3. The code isn't included in the article (only a link),
  4. Faster loading of an article with many lines of code,
  5. Built-in syntax highlighting with GeSHi (supports many languages and can be easily extend),
  6. Easy access to the entire code of an article trough the code browser,
  7. The possibility to download the code through the code browser.

Resources:

Demo: You can see examples in most of my articles. One good example may be here.
GeSHi: The homepage and the documentation.

History:

When I first start blogging with WordPress (by the way a wonderful piece of software) I was searching for a plugin to show my code examples appropriate to my visitors. Because I'm writing technical articles I have many code snippets with partly many lines of code. It's not a good idea to show them directly in the articles, because they can blow up the page layout heavily and affect the readability of the normal text.

Installation:

Coming soon when the plugin is formal released.

Usage:

Coming soon when the plugin is formal released.

Category: Common | Comments (0) | Author: Fabian