writing / 09 of 13
Code blocks
Fenced code is rendered with the theme's colours. Add line ranges to highlight only the lines you're talking about.
Highlighting lines
markdown
```go{2,4-5} --numbered
func main() {
cfg := config.Load()
defer log.Close()
p := tea.NewProgram(model)
p.Run()
}
```Lines in the ranges are highlighted, the rest are plain. --numbered adds line numbers and --start-at-line 15 starts them at 15.