Sha256: f44bc28401119c4021ea71de4bd15ffea7b08858dd00bb4f3746d76179cc5df7

Contents?: true

Size: 526 Bytes

Versions: 2

Compression:

Stored size: 526 Bytes

Contents

require 'html/pipeline'
require 'html/pipeline/gitlab/version'

module HTML
  class Pipeline
    class GitLab
      # GitLab related filters for html-pipeline. Implements new filters used
      # by GitLab.

      # Custom filter implementations
      autoload :GitLabEmojiFilter, 'html/pipeline/gitlab/gitlab_emoji_filter'

      # Most used markdown pipeline in GitLab. Performs emoji replacement.
      MarkdownPipeline = HTML::Pipeline.new [
        SanitizationFilter,
        GitLabEmojiFilter
      ]
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
html-pipeline-gitlab-0.1.2 lib/html/pipeline/gitlab.rb
html-pipeline-gitlab-0.1.1 lib/html/pipeline/gitlab.rb