---
title: "Customizing Bespin"
description: "with syntax and code highlighting Read the intro to bespin before you continue Prereq: Python 2.5 with simplejson or Python."
url: "https://h3manth.com/scribe/customizing-bespin/"
canonical_url: "https://h3manth.com/scribe/customizing-bespin/"
markdown_url: "https://h3manth.com/scribe/blog/customizing-bespin.md"
publishDate: "2010-02-21T00:00:00.000Z"
author: "Hemanth HM"
category: "python"
tags: ["python","javascript","web"]
word_count: 185
reading_time_minutes: 1
x_markdown_tokens: 550
content_signal: "ai-train=yes, search=yes, ai-input=yes"
---

# Customizing Bespin

> with syntax and code highlighting Read the intro to bespin before you continue Prereq: Python 2.5 with simplejson or Python.

**Customizing Bespin with syntax and code highlighting** [ Read the intro to bespin before you continue ](http://h3manth.com/content/bespin-next-generation-web-code-editor) **Prereq:** _Python 2.5 with simplejson or Python 2.6_

**Peek into dryice.py :** ``

## !/usr/bin/env python

## Simple script to run dryice conveniently in the Customizable package

import sys import os mydir = os.path.dirname(**file**) sys.path.insert(0, os.path.join(mydir, "lib")) from dryice import tool tool.main() 

**Sample json {manifest} :** ` {`
    
    
    "output_dir": "tmp",
    "plugins": ["Embedded", "HTML", "JavaScript"],
    "include_sample": true
    

} _mainfest options :_ include_core_test => includes SproutCore's CoreTest unit testing framework include_sample => sample.html is generated in output_dir output_dir => Final destination plugins => list of plugins, need not specify the dependencies for the build! search_path => provide a list of relative or absolute paths to search for plugins {from the pwd}.

**Getting started :** **hemanth@bespin $ python dryice.py sample.json** _dryice: the Bespin build tool Using build manifest: sample.json Placing output in tmp_

**Exploring and Expanding :** ` tmp contents ./tmp ./tmp/BespinEmbedded.js ./tmp/images ./tmp/images/sc-theme-ysprite.png ./tmp/images/icons ./tmp/images/icons/mini_ffffff.png ./tmp/images/icons/shared.png ./tmp/images/icons/mini_454545.png ./tmp/images/icons/mini_888888.png ./tmp/images/icons/mini_222222.png ./tmp/images/sc-toolbar-view.png ./tmp/images/sproutcore-logo.png ./tmp/images/sc-theme-repeat-x.png ./tmp/images/panels ./tmp/images/panels/sprite-x.png ./tmp/images/panels/sprite-y.png ./tmp/sample.html ./tmp/BespinEmbedded.css ./dryice.py `

**Based on the the json the editor would look like this:[Bespin](http://h3manth.com/sites/files/tmp/sample.html)**
