Skip to content

Commit

Permalink
added code syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
idancali committed Feb 15, 2018
1 parent 6c75169 commit 7c27289
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
<hr/>

## Latest Release [![Build](https://circleci.com/gh/fluidtrends/cassi.svg?style=svg)](https://circleci.com/gh/fluidtrends/cassi)

[![Coverage](https://api.codeclimate.com/v1/badges/f472b929f316ff5f2d76/test_coverage)](https://codeclimate.com/github/fluidtrends/cassi/test_coverage)
[![Maintainability](https://api.codeclimate.com/v1/badges/f472b929f316ff5f2d76/maintainability)](https://codeclimate.com/github/fluidtrends/cassi/maintainability)
[![Style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com)
Expand All @@ -18,7 +17,7 @@

There's really nothing to getting Cassi up and running, other than selecting a root directory for your vault storage and setting a password for each vault. Have a look at how easy it is to create a Cassi Vault:

```
```javascript
// Import Cassi
const cassi = require('cassi')

Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ A Cassi Vault is a JSON file structure that can be encrypted, decrypted and pass

**Basic Usage**

```
```javascript
// Import Cassi
const cassi = require('cassi')

Expand Down
12 changes: 6 additions & 6 deletions docs/vault/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ To use a Vault you start by instantiating an instance, with some options.

*Examples:*

```
```javascript
// Import Cassi with default options
const cassi = require('cassi')

Expand All @@ -28,7 +28,7 @@ Create a Cassi Vault in your home directory (~/.cassi), with the given password

**Example:**

```
```javascript
vault.create('hello')
.then(({ vault, mnemonic }) => {
// Have fun using your new vault.
Expand All @@ -47,7 +47,7 @@ Lock a Cassi Vault with the given password

**Example:**

```
```javascript
vault.lock('hello')
.then(({ vault }) => {
// the vault is successfully locked now
Expand All @@ -65,7 +65,7 @@ Unlock a Cassi Vault with the given password

**Example:**

```
```javascript
vault.unlock('hello')
.then(({ vault }) => {
// you may use the vault now
Expand All @@ -81,7 +81,7 @@ Read secure data from an unlocked vault

**Example:**

```
```javascript
const name = vault.read('name')
```

Expand All @@ -91,7 +91,7 @@ Write secure data from to an unlocked vault

**Example:**

```
```javascript
vault.write('name', 'Johnny')
```

Expand Down

0 comments on commit 7c27289

Please sign in to comment.