Skip to content

Commit

Permalink
Update README.md - Improve syntax highlighting
Browse files Browse the repository at this point in the history
Change a couple syntax highlighting styles to improve readability
  • Loading branch information
arcanemachine authored and cpjolicoeur committed Aug 8, 2023
1 parent cf8e4f1 commit 89890af
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ plug(

3. Configure Torch by adding the following to your `config.exs`.

```
```elixir
config :torch,
otp_app: :my_app_name
```
Expand Down Expand Up @@ -85,7 +85,7 @@ $ mix torch.gen.html Blog Post posts title:string body:text published_at:datetim

The output would look like:

```bash
```
* creating priv/templates/phx.gen.html/edit.html.heex
* creating priv/templates/phx.gen.html/form.html.heex
...<omitted for brevity>...
Expand Down Expand Up @@ -123,7 +123,7 @@ Also don't forget to add a link to layouts/torch.html if desired.
Torch also installed an admin layout into your `my_app_web/templates/layout/torch.html.heex`.
You will want to update it to include your new navigation link:

```
```html
<nav class="torch-nav">
<a href="/posts">Posts</a>
</nav>
Expand Down

0 comments on commit 89890af

Please sign in to comment.