valkey-io / valkey-doc

Other
19 stars 25 forks source link

Replace code blocks in Hugo syntax #78

Closed zuiderkwast closed 2 months ago

zuiderkwast commented 2 months ago

Replace non-markdown code blocks like

{{< clients-example stream_tutorial xgroup_create >}}
> XGROUP CREATE race:france france_riders $
OK
{{< /clients-example >}}

with

```valkey-cli
127.0.0.1:6379> XGROUP CREATE race:france france_riders $
OK
```

Apart from changing the delimiters, the prompt is replaced with 127.0.0.1:6379> which is what valkey-cli display by default.