GitLab has evolved its Markdown rendering to align with the CommonMark specification, ensuring consistent rendering across the platform. This involved a phased migration from RedCarpet to CommonMark, first for new content and then for repository and wiki files. The process included driving upstream changes to libraries like cmark-gfm and commonmarker to address specific rendering behaviors and bugs. The goal is to provide a more predictable and reliable user experience for all Markdown content. This post details the change to require two spaces at the end of a line for a newline, aligning with the Markdown specification and applying this behavior to descriptions and comments in issues and merge requests.
All GitLab trails