Skip to content

Commit

Permalink
fix installation again (code block needs to be in javascript)
Browse files Browse the repository at this point in the history
  • Loading branch information
LandonTClipp committed Jul 10, 2023
1 parent 903445b commit b5592d6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ Visit the [releases page](https://github.com/vektra/mockery/releases) to downloa

Supported, but not recommended: [see wiki page](https://github.com/vektra/mockery/wiki/Installation-Methods#go-install) and [related discussions](https://github.com/vektra/mockery/pull/456).

```
<div id="mockery-install-go-command"></div>
```

!!! warning

Expand All @@ -43,7 +41,11 @@ Install through [brew](https://brew.sh/)
<script type="text/javascript">

function insert_installation_command(element_to_override,version){
element_to_override.innerHTML=`go install github.com/vektra/mockery/v2@${version}`;
element_to_override.innerHTML=`
```
go install github.com/vektra/mockery/v2@${version}
```
`;
}

const version_key="/mockery/version";
Expand Down

0 comments on commit b5592d6

Please sign in to comment.