Skip to content

Commit d4c6508

Browse files
Use div for code block so vue interpolation works (#1041)
vuepress adds a `v:pre` tag to a fenced code block, which escapes any vue interpolation so you see the full, unaffected code. this interferes with instances where you need the vue interpolation for the code to make sense. I updated an escaped code block to use the same style as a block earlier in the snippet so that interpolation works. see vuejs/vuepress#413 Signed-off-by: zachmandeville <[email protected]>
1 parent 71f9ddb commit d4c6508

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/.vuepress/_snippets/install_os.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,9 @@ You can start the control-plane with: `kuma-{{ $page.latestVersion }}/bin/kuma-c
3232
This example will run Kuma in `standalone` mode for a "flat" deployment, but there are more advanced [deployment modes](../introduction/deployments.md) like "multi-zone".
3333

3434
We suggest adding the `kumactl` executable to your `PATH` so that it's always available in every working directory. Or - alternatively - you can also create link in `/usr/local/bin/` by executing:
35-
36-
```sh
37-
ln -s kuma-{{ $page.latestVersion }}/bin/kumactl /usr/local/bin/kumactl
38-
```
35+
<div class="language-sh">
36+
<pre><code> ln -s kuma-{{ $page.latestVersion }}/bin/kumactl /usr/local/bin/kumactl </code></pre>
37+
</div>
3938

4039
::: tip
4140
**Note**: By default this will run Kuma with a `memory` [store](../documentation/configuration.md), but for production you have to use a persistent storage like PostgreSQL by updating the `conf/kuma-cp.conf` file.

0 commit comments

Comments
 (0)