Merge pull request #163 from szpak/patch-2
Add highlighted lines in source code
This commit is contained in:
commit
5a42616dc9
|
@ -21,9 +21,11 @@ image: images/feature2/color-palette.png
|
|||
|
||||
Verify the following code blocks render as code blocks and highlight properly.
|
||||
|
||||
More about tuning syntax highlighting is the [Hugo documentation](https://gohugo.io/content-management/syntax-highlighting/).
|
||||
|
||||
### Diff
|
||||
|
||||
``` diff
|
||||
``` diff {hl_lines=[4,"6-7"]}
|
||||
*** /path/to/original ''timestamp''
|
||||
--- /path/to/new ''timestamp''
|
||||
***************
|
||||
|
|
Loading…
Reference in New Issue