diff --git a/app/helpers/gitlab_markdown_helper.rb b/app/helpers/gitlab_markdown_helper.rb index 924e6cb197..d7843a70c7 100644 --- a/app/helpers/gitlab_markdown_helper.rb +++ b/app/helpers/gitlab_markdown_helper.rb @@ -58,6 +58,12 @@ module GitlabMarkdownHelper Gitlab::Markdown.render(text, context) end + # TODO (rspeicher): Remove all usages of this helper and just call `markdown` + # with a custom pipeline depending on the content being rendered + def gfm(text, options = {}) + markdown(text, options) + end + def asciidoc(text) Gitlab::Asciidoc.render(text, { commit: @commit,