Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

PrismCodeDisplayer for Seaside

This project is an implementation of Prism.js in Seaside with a model associated.


Version management

This project use semantic versionning to define the releases. This mean that each stable release of the project will get associate a version number of the form vX.Y.Z.

  • X define the major version number
  • Y define the minor version number
  • Z define the patch version number

When a release contains only bug fixes, the patch number increase. When the release contains new features backward compatibles, the minor version increase. When the release contains breaking changes, the major version increase.

Thus, it should be safe to depend on a fixed major version and moving minor version of this project.

Install Prism Seaside

To install Prism on your Pharo image you can execute:

    Metacello new
        githubUser: 'DuneSt' project: 'PrismCodeDisplayer' commitish: 'master' path: 'src';
        baseline: 'PrismCodeDisplayer';
        onUpgrade: [ :e | e useIncoming ];

To add Prism Seaside to your baseline just add this:

        baseline: 'PrismCodeDisplayer'
        with: [ spec repository: 'github://DuneSt/PrismCodeDisplayer:v1.x.x/src' ]

Note that you can replace the #v1.x.x by a branch name as #master, #development or a tag as #v1.0.0, #v1.? or #v1.2.x or a commit SHA.

Getting started

Add the right libraries

To use Prism for Seaside you will need to add JQuery and Prism libraries to your application:

	(WAAdmin register: self asApplicationAt: 'myApplication')
		addLibrary: PrismLibrary;
		addLibrary: JQDeploymentLibrary

Material Design Lite integration

An integration package with Material Design Lite is available by loading the mdl group from Prism's baseline.


You can find multiple examples when the application will be installed at the url: http://localhost:8080/PrismDemo

When you install in a plain Pharo image you need to start the seaside server first by opening World menu > Tools > Seaside Control Panel and adding and starting an appropropriate ZnZincServerAdaptor. If you do not use port 8080, change the port in the URL.

You can find a demo at:

Latest supported Dependency

Smalltalk versions compatibility

Prism version Compatible Pharo versions
v1.x.x Pharo 61, 70, 80, 90, 10
development Pharo 61, 70, 80, 90, 10


If you have any question or problem do not hesitate to open an issue or contact cyril (a) or guillaume.larcheveque (a)


This project is an implementation of Prism.js in seaside.







No packages published