Add SyntaxHighlightFilter to markup pipeline

This commit is contained in:
Martin Wortschack 2019-03-05 14:14:11 +00:00 committed by Douwe Maan
parent 231b3ca625
commit 59afa80ae0
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