Skip to content

Commit

Permalink
Fix readme aesthetics
Browse files Browse the repository at this point in the history
  • Loading branch information
dy authored Nov 12, 2018
1 parent 7afd048 commit d3132f4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Install
Quick Overview
--------------

###Usage
### Usage

`````javascript
var quantize = require('quantize');
Expand All @@ -26,7 +26,7 @@ var colorMap = quantize(arrayOfPixels, maximumColorCount);
* `arrayOfPixels` - An array of pixels (represented as [R,G,B arrays]) to quantize
* `maxiumColorCount` - The maximum number of colours allowed in the reduced palette

#####Reduced Palette
##### Reduced Palette

The `.palette()` method returns an array that contains the reduced color palette.

Expand All @@ -36,7 +36,7 @@ colorMap.palette();
// [[204, 204, 204], [208,212,212], [188,196,188], [212,204,196]]
`````

#####Reduced pixel
##### Reduced pixel

The `.map(pixel)` method maps an individual pixel to the reduced color palette.

Expand All @@ -55,7 +55,7 @@ Contributors
------------

* [Nick Rabinowitz](https://github.com/nrabinowitz)
* [Mike Bostock] (https://github.com/mbostock)
* [Mike Bostock](https://github.com/mbostock)

License
-------
Expand Down

0 comments on commit d3132f4

Please sign in to comment.