Unverified Commit 637fd212 authored by Devon Rifkin's avatar Devon Rifkin Committed by GitHub
Browse files

docs: change more template blocks to have syntax highlighting

In #8215 syntax highlighting was added to most of the blocks, but there were a couple that were still being rendered as plaintext
parent 0fe487e7
...@@ -12,7 +12,7 @@ A basic Go template consists of three main parts: ...@@ -12,7 +12,7 @@ A basic Go template consists of three main parts:
Here's an example of a simple chat template: Here's an example of a simple chat template:
```gotmpl ```go
{{- range .Messages }} {{- range .Messages }}
{{ .Role }}: {{ .Content }} {{ .Role }}: {{ .Content }}
{{- end }} {{- end }}
...@@ -162,6 +162,6 @@ CodeLlama [7B](https://ollama.com/library/codellama:7b-code) and [13B](https://o ...@@ -162,6 +162,6 @@ CodeLlama [7B](https://ollama.com/library/codellama:7b-code) and [13B](https://o
Codestral [22B](https://ollama.com/library/codestral:22b) supports fill-in-middle. Codestral [22B](https://ollama.com/library/codestral:22b) supports fill-in-middle.
```gotmpl ```go
[SUFFIX]{{ .Suffix }}[PREFIX] {{ .Prompt }} [SUFFIX]{{ .Suffix }}[PREFIX] {{ .Prompt }}
``` ```
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment