Merge pull request #163 from szpak/patch-2

Add highlighted lines in source code
This commit is contained in:
zzossig 2020-02-13 09:06:45 +09:00 committed by GitHub
commit 5a42616dc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -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''
***************