Skip to content

Commit

Permalink
[fix] remove padding before code block. (#50)
Browse files Browse the repository at this point in the history
Now Github display the syntax correctly. :)
  • Loading branch information
Debetux authored and zberkom committed Apr 25, 2017
1 parent 7b95a12 commit 2294e3e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,23 @@ To install Torch, perform the following steps:

1. Add `torch` to your list of dependencies in `mix.exs`. Then, run `mix deps.get`:

```elixir
```elixir
def deps do
[{:torch, "~> 1.0.0-rc.5"}]
end
```

2. Ensure `:torch` is started in your applications list in `mix.exs`:

```elixir
```elixir
def application do
[applications: [:torch]]
end
```

3. Add `torch` to your `package.json` dependencies. Then, run `npm install`.

```diff
```diff
"dependencies": {
"phoenix": "file:deps/phoenix",
"phoenix_html": "file:deps/phoenix_html",
Expand All @@ -38,7 +38,7 @@ end

4. Import `torch.js` in your `app.js`:

```js
```js
import "torch"
```

Expand Down Expand Up @@ -81,7 +81,7 @@ If you're not using SASS, then you will need to configure your asset pipeline to

1. Add `node_modules` to the watched directories for `stylesheets`.

```js
```js
stylesheets: {
joinTo: {
'css/app.css': /^(web|node_modules)/
Expand All @@ -91,7 +91,7 @@ stylesheets: {

2. Add `torch` to the npm configuration:

```js
```js
npm: {
enabled: true
styles: {
Expand Down

0 comments on commit 2294e3e

Please sign in to comment.