From 68cbd5452427e9b11f4fecef8628ca57bd104eb9 Mon Sep 17 00:00:00 2001 From: Santiago Castro Date: Tue, 18 Apr 2017 02:34:52 -0300 Subject: [PATCH] Fix broken Markdown headings --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 0e322e2..c671374 100644 --- a/README.md +++ b/README.md @@ -2,11 +2,11 @@ [![Build Status](https://secure.travis-ci.org/filerjs/filer.png?branch=develop)](http://travis-ci.org/filerjs/filer) -###Filer +### Filer Filer is a POSIX-like file system interface for node.js and browser-based JavaScript. -###Compatibility +### Compatibility Filer is known to work in the following browsers/versions, with the specified [Storage Providers](#providers): @@ -147,7 +147,7 @@ NOTE: if the optional callback argument is not passed to the `FileSystem` constr operations done on the resulting file system will be queued and run in sequence when it becomes ready. -####Filer.FileSystem.providers - Storage Providers +#### Filer.FileSystem.providers - Storage Providers Filer can be configured to use a number of different storage providers. The provider object encapsulates all aspects of data access, making it possible to swap in different backend storage options. There are currently 4 different @@ -189,7 +189,7 @@ A number of other providers have been written, including: * node.js fs provider: https://github.com/humphd/filer-fs * node.js Amazon S3 provider: https://github.com/alicoding/filer-s3 -####Filer.Buffer +#### Filer.Buffer When reading and writing data, Filer follows node.js and uses [`Buffer`](http://nodejs.org/api/buffer.html). When in a node.js environment, native `Buffer`s can be used, or Filer.Buffer, which is a shortcut @@ -198,7 +198,7 @@ to node's `Buffer`. In a browser, you can use also use `Filer.Buffer`. NOTE: a `Filer.Buffer` in a browser is really an augmented `Uint8Array` (i.e., the node `Buffer` api methods are added to the instance). See https://github.com/feross/buffer for more details. Additionally, unlike native `Buffer`, `Filer.Buffer`'s constructor can accept `ArrayBuffer` objects, which will be interpreted as `Uint8Array`s. -####Filer.Path +#### Filer.Path The node.js [path module](http://nodejs.org/api/path.html) is available via the `Filer.Path` object. It is identical to the node.js version with the following differences: @@ -230,7 +230,7 @@ For more info see the docs in the [path module](http://nodejs.org/api/path.html) * `path.sep` * `path.delimiter` -####Filer.Errors +#### Filer.Errors The error objects used internally by Filer are also exposed via the `Filer.Errors` object. As much as possible these match their node.js counterparts, with a few Filer-specifc additions. @@ -266,7 +266,7 @@ function callback(err) { console.log(err.message); ``` -###FileSystem Instance Methods +### FileSystem Instance Methods Once a `FileSystem` is created, it has the following methods. NOTE: code examples below assume a `FileSystem` instance named `fs` has been created like so: