Merge branch 'enable-markup-highlighting' into 'master'
Add SyntaxHighlightFilter to markup pipeline Closes #20023 See merge request gitlab-org/gitlab-ce!25761
This commit is contained in:
commit
42d3117f9c
2 changed files with 7 additions and 1 deletions
5
changelogs/unreleased/enable-markup-highlighting.yml
Normal file
5
changelogs/unreleased/enable-markup-highlighting.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Enable syntax highlighting to other supported markups
|
||||
merge_request: 25761
|
||||
author:
|
||||
type: other
|
|
@ -7,7 +7,8 @@ module Banzai
|
|||
@filters ||= FilterArray[
|
||||
Filter::SanitizationFilter,
|
||||
Filter::ExternalLinkFilter,
|
||||
Filter::PlantumlFilter
|
||||
Filter::PlantumlFilter,
|
||||
Filter::SyntaxHighlightFilter
|
||||
]
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue