Skip to content

Use Rust based markdown parser for backend

Brett Walker requested to merge bw-use-gitlab-glfm-markdown into master

What does this MR do and why?

🏳 Gated by the feature flag markdown_rust per project

Switch from using the the C-based cmark-gfm parser via the gem commonmarker, to using the Rust based parser comrak via the gitlab-glfm-markdown gem.

The epic associated with this is Update markdown parsing/rendering on the backen... (&10074) and contains some performance comparisons.

How to set up and validate locally

  1. enable the markdown_rust feature flag
  2. go into an issue description and use any markdown you would normally use, it will be rendered just like it always is.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to Use Rust based markdown parser for backend (#416500 - closed)

Edited by Brett Walker

Merge request reports