diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-03-09 10:45:02 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-03-09 11:33:13 +0100 |
commit | a360cab75a073c2a8d47dcd27f52a6847e8d8d13 (patch) | |
tree | 46d139073a7e77950698f8dcd1172201b31e1ee1 /markup/internal | |
parent | c97fed08f90b3758c85d3f67f038cd1f794d16fc (diff) |
markup/highlight: Add hl_inline option
If set to true, the highlighted code will not be wrapped in any div.
Closes #9442
Diffstat (limited to 'markup/internal')
-rw-r--r-- | markup/internal/attributes/attributes.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/markup/internal/attributes/attributes.go b/markup/internal/attributes/attributes.go index a20690c4c..0351bb54c 100644 --- a/markup/internal/attributes/attributes.go +++ b/markup/internal/attributes/attributes.go @@ -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() { |