2016-01-11 23:10:08 -05:00
|
|
|
module Banzai
|
|
|
|
module Pipeline
|
2016-01-12 11:16:32 -05:00
|
|
|
class WikiPipeline < FullPipeline
|
|
|
|
def self.filters
|
2016-03-31 23:17:37 -04:00
|
|
|
@filters ||= begin
|
|
|
|
super.insert_after(Filter::TableOfContentsFilter, Filter::GollumTagsFilter)
|
2016-04-01 14:03:39 -04:00
|
|
|
.insert_before(Filter::TaskListFilter, Filter::WikiLinkFilter)
|
2016-03-31 23:17:37 -04:00
|
|
|
end
|
2016-01-12 11:16:32 -05:00
|
|
|
end
|
2016-01-11 23:10:08 -05:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|