Skip to content
Radek edited this page Nov 7, 2012 · 1 revision

Syntax

Enumerated lists

  1. This is the first item
  2. This is the second item
  3. Enumerators are arabic numbers, single letters, or roman numerals
  4. List items should be sequentially numbered, but need not start at 1 (although not all formatters will honour the first index).
  5. This item is auto-enumerated

Definition lists

what
Definition lists associate a term with a definition.
how
The term is a one-line phrase, and the definition is one or more paragraphs or body elements, indented relative to the term. Blank lines are not allowed between term and definition.

Source Code

This is a normal text paragraph. The next paragraph is a code sample

/* Type here! */

Widget = {
    hide: function() {
        return this.element
            .animate({opacity: 0.0, top: -10});
    },
    show: function() {
        return this.element
            .animate({opacity: 1.0, top: 0});
    },
    element: $(".widget")
}

This is a normal text paragraph again followed by some CoffeeScript.

# Type here!
Scope::find = (name, options) ->
    return true if @check(name, options)
    @add name, "var"
    false
Clone this wiki locally