Line numbers for code blocks
When in meetings (with slow internet speed where you cannot share your screen), it is difficult to refer to lines of code that are not numbered and discuss things. It'd be great if lines were numbered or at least there was an option to optionally enable such a feature or a separate "numbered codeblock" feature.
-
Юрий Чиж commented
use the name of the programming language after the first “back quotes” to highlight the syntax
for example:
```go
package cli
import (
cliContext "github.com/go-skynet/LocalAI/core/cli/context"
"github.com/go-skynet/LocalAI/core/cli/worker"
)var CLI struct {
cliContext.Context `embed:""`Run RunCMD `cmd:"" help:"Run LocalAI, this the default command if no other command is specified. Run 'local-ai run --help' for more information" default:"withargs"`
Models ModelsCMD `cmd:"" help:"Manage LocalAI models and definitions"`
TTS TTSCMD `cmd:"" help:"Convert text to speech"`
Transcript TranscriptCMD `cmd:"" help:"Convert audio to text"`
Worker worker.Worker `cmd:"" help:"Run workers to distribute workload (llama.cpp-only)"`
}
```