mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-29 07:00:31 +03:00
markup/highlight: Add hl_inline option
If set to true, the highlighted code will not be wrapped in any div. Closes #9442
This commit is contained in:
parent
c97fed08f9
commit
a360cab75a
4 changed files with 72 additions and 2 deletions
|
@ -38,6 +38,7 @@ var chromaHightlightProcessingAttributes = map[string]bool{
|
|||
"nohl": true,
|
||||
"style": true,
|
||||
"tabWidth": true,
|
||||
"hl_inline": true, // New in 0.94.0.
|
||||
}
|
||||
|
||||
func init() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue