Skip to content

Commit

Permalink
Adds Smalltalk syntax highlighting to README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
eMaringolo authored Mar 4, 2018
1 parent 4056b44 commit 7c8255a
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 @@ -6,7 +6,7 @@ Simple implementation of Bitcoin's BIP39 mnemonic and seed generator using the [
## Installation

Run:
```
```Smalltalk
Metacello new
baseline: 'BIP39Mnemonic';
repository: 'github://eMaringolo/pharo-bip39mnemonic/src';
Expand All @@ -17,7 +17,7 @@ Metacello new


### Creating a new one
```
```Smalltalk
| m |
"Creating a mnemonic from Pharo's weak PRNG"
m := BIP39Mnemonic generate.
Expand All @@ -31,10 +31,10 @@ m seedForPassphrase: 'Pharo'. "'154ad96ab7ad44d2c47beb3801e278b37b82fe9fc3...'"
```

### Instantiating from existing words
```
```Smalltalk
BIP39Mnemonic fromWords: 'legal winner thank year wave sausage worth useful legal winner thank yellow'.
BIP39Mnemonic fromWords: "#('legal' 'winner' 'thank' 'year' 'wave' 'sausage'
BIP39Mnemonic fromWords: #('legal' 'winner' 'thank' 'year' 'wave' 'sausage'
'worth' 'useful' 'legal' 'winner' 'thank' 'yellow')
```

Expand Down

0 comments on commit 7c8255a

Please sign in to comment.