Code Snippets Demo

This page contains a live demonstration of each of the code snippet styles that come with the Writer theme. For more information, check out the instructions for enabling and invoking the styles.

Simple

Proper use of the myChoice() function can result in unleashing pure awesomeness.

if(myJudgement === "good") {
  var datTheme = 'http://drupal.org/project/writer';
  myChoice(datTheme);
}

Night

Proper use of the myChoice() function can result in unleashing pure awesomeness.

if(myJudgement === "good") {
  var datTheme = 'http://drupal.org/project/writer';
  myChoice(datTheme);
}

Inset

Proper use of the myChoice() function can result in unleashing pure awesomeness.

if(myJudgement === "good") {
  var datTheme = 'http://drupal.org/project/writer';
  myChoice(datTheme);
}

Zebra

Proper use of the myChoice() function can result in unleashing pure awesomeness.

if(myJudgement === "good") {
  var datTheme = 'http://drupal.org/project/writer';
  myChoice(datTheme);
}
Tags: 

Comments

It would be nice if there was a "Day" one similar to something like http://nicolasgallagher.com/custom-css-preprocessing/ has. It seems like there's room for another one between Simple and Night.

Not a bad thought. I do like the look of his snippet styles.

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.