Class: Banzai::Pipeline::MarkupPipeline
- Inherits:
-
BasePipeline
- Object
- BasePipeline
- Banzai::Pipeline::MarkupPipeline
- Defined in:
- lib/banzai/pipeline/markup_pipeline.rb
Class Method Summary collapse
Methods inherited from BasePipeline
Class Method Details
.filters ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/banzai/pipeline/markup_pipeline.rb', line 6 def self.filters @filters ||= FilterArray[ Filter::SanitizationFilter, Filter::SanitizeLinkFilter, Filter::CodeLanguageFilter, Filter::AssetProxyFilter, Filter::ExternalLinkFilter, Filter::PlantumlFilter, Filter::KrokiFilter, Filter::SyntaxHighlightFilter # this filter should remain at the end ] end |
.transform_context(context) ⇒ Object
19 20 21 |
# File 'lib/banzai/pipeline/markup_pipeline.rb', line 19 def self.transform_context(context) Filter::AssetProxyFilter.transform_context(context) end |