# frozen_string_literal: true module Gitlab module Asciidoc module SyntaxHighlighter class HtmlPipelineAdapter < Asciidoctor::SyntaxHighlighter::Base register_for 'gitlab-html-pipeline' def format(node, lang, opts) if Feature.enabled?(:use_cmark_renderer, default_enabled: :yaml) %(
#{node.content}
) else %(
#{node.content}
) end end end end end end