put code block fences back

This commit is contained in:
Felix Lange 2019-11-05 13:30:29 +01:00
parent 057f1f7911
commit 9a9c4a28cf

View file

@ -41,7 +41,9 @@ these executables.
Before starting Geth you first need to create an account that represents a key pair. Use Before starting Geth you first need to create an account that represents a key pair. Use
the following command to create a new account and set a password for that account: the following command to create a new account and set a password for that account:
geth account new ```shell
geth account new
```
_[Read this guide](./interface/managing-your-accounts) for more details on importing _[Read this guide](./interface/managing-your-accounts) for more details on importing
existing Ethereum accounts and other uses of the `account` command._ existing Ethereum accounts and other uses of the `account` command._
@ -63,20 +65,28 @@ These are:
For example: For example:
geth --syncmode "light" ```shell
geth --syncmode "light"
```
### Javascript Console ### Javascript Console
Once you have an account and Geth is running, you can interact with it by opening another Once you have an account and Geth is running, you can interact with it by opening another
terminal and using the following command to open a JavaScript console: terminal and using the following command to open a JavaScript console:
geth attach ```shell
geth attach
```
In the console you can issue any of the Geth commands, for example, to list all the In the console you can issue any of the Geth commands, for example, to list all the
accounts on the node, use: accounts on the node, use:
> eth.accounts ```js
> eth.accounts
```
You can also enter the console directly when you start the node with the `console` command: You can also enter the console directly when you start the node with the `console` command:
geth console --syncmode "light" ```shell
geth console --syncmode "light"
```