Code for America Documentation Style Guide

See on Github Do something else

Text

This document demonstrates how different pieces of content will look when applied to your own documentation.

Unordered list

Ordered list

  1. Features
  2. Table
  3. Admin

Code


var defaults = module.exports.defaults = function(obj) {
  each(Array.prototype.slice.call(arguments, 1), function(source) {
    if (source) {
      for (var prop in source) {
        if (obj[prop] === void 0) obj[prop] = source[prop];
      }
    }
  });
  return obj;
};

Image

Image with caption

This is a caption

This is a general notification.

This is a notification of a failed action or event.

This is a notification of a successful action or event.

This is a notification with some information.

Table

Programs
Fellowship $2,733,782
Brigade $286,257
Accelerator $280,896
Civic Commons & Peer Network $324,140
Total Programs $3,625,075
Administration $226,648
Fundraising $153,504
Total Expenses $4,005,227
Table of Contents