Explicit code blocks in docs

This commit is contained in:
Manuel Ebert 2017-03-09 12:40:38 -08:00
parent 7003b3d13a
commit 7f5564c63c
7 changed files with 99 additions and 38 deletions

View file

@ -6,15 +6,21 @@ Getting started
Installation
------------
On OS X, the easiest way to install *jrnl* is using `Homebrew <http://brew.sh/>`_ ::
On OS X, the easiest way to install *jrnl* is using `Homebrew <http://brew.sh/>`_
.. code-block:: sh
brew install jrnl
On other platforms, install *jrnl* using pip ::
On other platforms, install *jrnl* using pip
.. code-block:: sh
pip install jrnl
Or, if you want the option to encrypt your journal, ::
Or, if you want the option to encrypt your journal,
.. code-block:: sh
pip install jrnl[encrypted]
@ -32,7 +38,9 @@ The first time you run ``jrnl`` you will be asked where your journal file should
Quickstart
----------
to make a new entry, just type::
to make a new entry, just type
.. code-block:: sh
jrnl yesterday: Called in sick. Used the time to clean the house and spent 4h on writing my book.