I'm testing this new Plug-In

| No Comments | No TrackBacks
I've been looking for exactly this type of plug-in for some time. Given that I've been producing a series of tutorials in which I'm Building a Blog with Grails, I found that the way I've been posting the code isn't really what I would find exceptionally "user-friendly."

So I went searching and found the SyntaxHihglighter plug-in for MovableType. What follows are a couple experiments to see if they work or not.

First, some Groovy:
users.each {

    exportFile.setDomain( it.exportPath )
    exportFile.write()

}

Then, some Java:
class SomeClass {
     public SomeClass() {
         System.out.println("Hello World");
     }
}

Now some css:
body { font-family: Arial; }

Now some HTML
<html>
    <title>My html page</title>

Last, but not least by any means, Python
from django.db import models
    class Poll(models.Model):
    question = models.CharField(max_length=200)
    pub_date = models.DateTimeField('date published')

Definitely what I've been looking for.
In the next tutorial I'll be putting this plug-in to work.

No TrackBacks

TrackBack URL: http://www.boxedfool.com/cgi-bin/mt/mt-t.cgi/249

Leave a comment

January 2010

Sun Mon Tue Wed Thu Fri Sat
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            

Twitter Updates