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:
Douwe Maan 2019-03-05 14:14:11 +00:00
commit 42d3117f9c
2 changed files with 7 additions and 1 deletions

View file

@ -0,0 +1,5 @@
---
title: Enable syntax highlighting to other supported markups
merge_request: 25761
author:
type: other

View file

@ -7,7 +7,8 @@ module Banzai
@filters ||= FilterArray[
Filter::SanitizationFilter,
Filter::ExternalLinkFilter,
Filter::PlantumlFilter
Filter::PlantumlFilter,
Filter::SyntaxHighlightFilter
]
end
end