add line highlighting #20

This commit is contained in:
Mivinci 2022-04-12 21:43:46 +08:00
parent 62bb791808
commit 5a2a7cc35a
4 changed files with 26 additions and 26 deletions

View file

@ -96,7 +96,7 @@ Tables aren't part of the core Markdown spec, but Hugo supports supports them ou
#### Code block with Golang
```go
```go {hl_lines=[3]}
type Registry interface {
Register(*Service, ...RegisterOption) error
Deregister(*Service, ...DeregisterOption) error