From 67096725401bf8dfb3b06d3d545f259a13105acd Mon Sep 17 00:00:00 2001 From: Martin Frost Date: Sun, 10 Jan 2016 13:15:24 +0100 Subject: [PATCH] Tidy up Installation instructions Now they look prettier on hexdocs --- README.md | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 045a87f..b9df136 100644 --- a/README.md +++ b/README.md @@ -37,25 +37,24 @@ end ## Installation -1. Add the package to your Mixfile: - ```elixir - defp deps do - [{:isn, "~> 0.1"}] - end - ``` +**Add the package to your Mixfile** -2. Add the isn extension to your database - ``` - mix do isn.gen.migration, ecto.migrate - ``` +```elixir +defp deps do + [{:isn, "~> 1.0"}] +end +``` -3. Register the postgrex extension in your Repo config - ```elixir - config :books, MyApp.Repo, - adapter: Ecto.Adapters.Postgres, - extensions: [{ISN, []}] +**Add the isn extension to your database** - ``` + mix do isn.gen.migration, ecto.migrate + +**Register the postgrex extension in your Repo config** +```elixir +config :books, MyApp.Repo, + adapter: Ecto.Adapters.Postgres, + extensions: [{ISN, []}] +``` ## Defined types