markup/highlight: Add hl_inline option
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 9 Mar 2022 09:45:02 +0000 (10:45 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 9 Mar 2022 10:33:13 +0000 (11:33 +0100)
commita360cab75a073c2a8d47dcd27f52a6847e8d8d13
tree46d139073a7e77950698f8dcd1172201b31e1ee1
parentc97fed08f90b3758c85d3f67f038cd1f794d16fc
markup/highlight: Add hl_inline option

If set to true, the highlighted code will not be wrapped in any div.

Closes #9442
markup/highlight/config.go
markup/highlight/highlight.go
markup/highlight/integration_test.go [new file with mode: 0644]
markup/internal/attributes/attributes.go