codeapprove / feedback

Feedback for CodeApprove
0 stars 0 forks source link

Make `golang` an alias for `go` in code snippets #84

Closed mtlynch closed 1 year ago

mtlynch commented 1 year ago

Minor feature request. It would be good if CodeApprove did syntax highlighting for both golang and go language quotes in fenced code snippets. Currently, only go works.

By comparison, on Github, both golang and go get syntax highlighting:

var s string
if true {
  s := "Hello, world!"
}
var s string
if true {
  s := "Hello, world!"
}
samatcodeapprove commented 1 year ago

@mtlynch thanks for noticing! Should be a very quick fix

samatcodeapprove commented 1 year ago

Pushing this now!

mtlynch commented 1 year ago

Awesome, thanks!