From 7d7878c067cfd8c1b49e1bfad721f186f1b5e036 Mon Sep 17 00:00:00 2001 From: mi-wada Date: Mon, 30 Dec 2024 23:43:06 +0900 Subject: [PATCH] docs(README.md): add syntax highlighting for diff and shell code blocks --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7bacc54f..6aca4f45 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ If you have the API you need, please submit your issue [here](https://github.com # Installation -``` +```shell go get github.com/goccy/go-json ``` @@ -43,7 +43,7 @@ go get github.com/goccy/go-json Replace import statement from `encoding/json` to `github.com/goccy/go-json` -``` +```diff -import "encoding/json" +import "github.com/goccy/go-json" ``` @@ -79,7 +79,7 @@ Also, development seems to have already stopped # Benchmarks -``` +```console $ cd benchmarks $ go test -bench . ``` @@ -233,7 +233,7 @@ When encoding a structure like the one above, create a sequence of opcodes like ※ When processing each operation, write the letters on the right. -In addition, each opcode is managed by the following structure ( +In addition, each opcode is managed by the following structure ( Pseudo code ). ```go