Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
59afa80a
Commit
59afa80a
authored
Mar 05, 2019
by
Martin Wortschack
Committed by
Douwe Maan
Mar 05, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add SyntaxHighlightFilter to markup pipeline
parent
231b3ca6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
changelogs/unreleased/enable-markup-highlighting.yml
changelogs/unreleased/enable-markup-highlighting.yml
+5
-0
lib/banzai/pipeline/markup_pipeline.rb
lib/banzai/pipeline/markup_pipeline.rb
+2
-1
No files found.
changelogs/unreleased/enable-markup-highlighting.yml
0 → 100644
View file @
59afa80a
---
title
:
Enable syntax highlighting to other supported markups
merge_request
:
25761
author
:
type
:
other
lib/banzai/pipeline/markup_pipeline.rb
View file @
59afa80a
...
...
@@ -7,7 +7,8 @@ module Banzai
@filters
||=
FilterArray
[
Filter
::
SanitizationFilter
,
Filter
::
ExternalLinkFilter
,
Filter
::
PlantumlFilter
Filter
::
PlantumlFilter
,
Filter
::
SyntaxHighlightFilter
]
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment