Skip to content

Commit

Permalink
Formatting fix for Getting Started section
Browse files Browse the repository at this point in the history
  • Loading branch information
dcrockwell committed Feb 6, 2014
1 parent 5a8cc0d commit f07d194
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ $ npm install tonto --save

## Getting Started

**1. Each instance of Tonto is a version-specific apache config **_document object_** that you add directives to by calling it's **_directive functions_**:**
**1. Each instance of Tonto is a version-specific apache config _document object_ that you add directives to by calling it's _directive functions_:**

```javascript
var document = new Tonto('2.4');
```

**2. There are **_solo directive functions_** that take a single value argument, and **_block directive functions_** which take a **_sub-directive setter_** object as the second argument:**
**2. There are _solo directive functions_ that take a single value argument, and _block directive functions_ which take a _sub-directive setter_ object as the second argument:**

```javascript
document.serverName('somesite.com');
Expand All @@ -54,7 +54,7 @@ document.virtualHost('*:80', function (subDirectiveDocument) {
});
```

**3. When the **_document object_** has all directives added to it, you can render the document to string by calling:**
**3. When the _document object_ has all directives added to it, you can render the document to string by calling:**

```javascript
document.render();
Expand Down
6 changes: 3 additions & 3 deletions lib/tonto.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ var DirectiveCollection = require('./tontoDirectiveCollection.js');
*
* ## Getting Started
*
* **1. Each instance of Tonto is a version-specific apache config **_document object_** that you add directives to by calling it's **_directive functions_**:**
* **1. Each instance of Tonto is a version-specific apache config _document object_ that you add directives to by calling it's _directive functions_:**
*
* ```javascript
* var document = new Tonto('2.4');
* ```
*
* **2. There are **_solo directive functions_** that take a single value argument, and **_block directive functions_** which take a **_sub-directive setter_** object as the second argument:**
* **2. There are _solo directive functions_ that take a single value argument, and _block directive functions_ which take a _sub-directive setter_ object as the second argument:**
*
* ```javascript
* document.serverName('somesite.com');
Expand All @@ -57,7 +57,7 @@ var DirectiveCollection = require('./tontoDirectiveCollection.js');
* });
* ```
*
* **3. When the **_document object_** has all directives added to it, you can render the document to string by calling:**
* **3. When the _document object_ has all directives added to it, you can render the document to string by calling:**
*
* ```javascript
* document.render();
Expand Down

0 comments on commit f07d194

Please sign in to comment.