Home / Companies / GitLab / Blog / Post Details
Content Deep Dive

How we migrated to CommonMark

Blog post from GitLab

Post Details
Company
Date Published
Author
Brett Walker
Word Count
834
Company Posts That Month
25
Language
English
Hacker News Points
-
Post removed?
No
Summary

Markdown, initially created by John Gruber, has become a popular method for writing online content due to its simplicity and ability to be converted into HTML or XHTML. Over time, various "flavors" of Markdown emerged, causing inconsistencies in rendering across different platforms. In response, GitLab adopted CommonMark, a standardized specification designed to ensure consistent Markdown rendering, as part of a phased migration. Initially, CommonMark was implemented for new content only, later extending to repository and wiki files, and ultimately replacing the previous RedCarpet rendering system entirely. This transition aimed to reduce technical debt and improve user experience by providing more consistent rendering, though it required some upstream improvements, such as supporting double-tilde strikethroughs. GitLab's adoption of CommonMark aligns with other platforms like GitHub and Discourse, enhancing the overall usability and compatibility of Markdown content across various applications.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.