Skip to content

Commit

Permalink
Fix syntax highlighting (#415)
Browse files Browse the repository at this point in the history
* Add empty line as a workaround for gobuffalo/plush#82

* Update plush
  • Loading branch information
lukasschlueter authored and stanislas-m committed Dec 10, 2018
1 parent 60aafd6 commit f377c36
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ require (
github.com/gobuffalo/mw-i18n v0.0.0-20181027200759-09e0c99be4d3
github.com/gobuffalo/mw-paramlogger v0.0.0-20181005191442-d6ee392ec72e
github.com/gobuffalo/packr v1.21.5
github.com/gobuffalo/plush v3.7.30+incompatible
github.com/gobuffalo/plush v3.7.33-0.20181208220007-290bc52c57d1+incompatible
github.com/gobuffalo/tags v2.0.14+incompatible
github.com/gobuffalo/x v0.0.0-20181110221217-14085ca3e1a9
github.com/golang/gddo v0.0.0-20181116215533-9bd4a3295021
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,8 @@ github.com/gobuffalo/plush v3.7.24-0.20181129161136-36115f4c9b1f+incompatible h1
github.com/gobuffalo/plush v3.7.24-0.20181129161136-36115f4c9b1f+incompatible/go.mod h1:rQ4zdtUUyZNqULlc6bqd5scsPfLKfT0+TGMChgduDvI=
github.com/gobuffalo/plush v3.7.30+incompatible h1:CN+rfRcKAn4yL11/R1vl+tbJ8kjcf+1ntf1Sr17yXVE=
github.com/gobuffalo/plush v3.7.30+incompatible/go.mod h1:rQ4zdtUUyZNqULlc6bqd5scsPfLKfT0+TGMChgduDvI=
github.com/gobuffalo/plush v3.7.33-0.20181208220007-290bc52c57d1+incompatible h1:sCU8cPho4HJ1AsQ/24/0eVS2mZsdbQhbJIjuU8IJ6VI=
github.com/gobuffalo/plush v3.7.33-0.20181208220007-290bc52c57d1+incompatible/go.mod h1:rQ4zdtUUyZNqULlc6bqd5scsPfLKfT0+TGMChgduDvI=
github.com/gobuffalo/plushgen v0.0.0-20181128164830-d29dcb966cb2/go.mod h1:r9QwptTFnuvSaSRjpSp4S2/4e2D3tJhARYbvEBcKSb4=
github.com/gobuffalo/plushgen v0.0.0-20181203163832-9fc4964505c2/go.mod h1:opEdT33AA2HdrIwK1aibqnTJDVVKXC02Bar/GT1YRVs=
github.com/gobuffalo/pop v4.8.2+incompatible h1:/nP7hiu5arwMWzHBUZY5BmEKq6XcdjnceNCTZGe7uO0=
Expand Down
2 changes: 2 additions & 0 deletions templates/docs/apis/_new.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@ Applications generated with the `--api` flag don't contain any front systems. Th
API applications have `actions/app.go` and `actions/render.go` files that are a good starting point for JSON API applications.

<h5><code>buffalo new coke --api</code></h5>

<%= partial("docs/apis/api_app.md") %>
<%= partial("docs/apis/api_render.md") %>

<h5><code>buffalo new coke</code></h5>

<%= partial("docs/apis/web_app.md") %>
<%= partial("docs/apis/web_render.md") %>

0 comments on commit f377c36

Please sign in to comment.