Just for the record I do see that ToC in .md is supported with recently version maybe after https://gitlab.com/gitlab-org/gitlab/-/issues/21901 was resolved. Answer from 130s on forum.gitlab.com
GitLab Docs
Learn how to use and administer GitLab, the most scalable Git-based fully integrated platform for software development.
Use GitLab
Get to know the GitLab end-to-end workflow. Configure permissions, organize your work, create and secure your application, and analyze its performance. Report on team productivity throughout the process
Release notes
GitLab release announcements and feature highlights.
Use CI/CD to build your application
Runners, jobs, pipelines, variables
🌐
GitLab
handbook.gitlab.com › docs › markdown-guide
Handbook Markdown Guide | The GitLab Handbook
It implements the CommonMark markdown standard, is extensible, and is very fast at transforming Markdown to HTML. As such, we encourage use of Markdown as much as possible, though we allow HTML inline (MD033). There are different possible syntaxes for most of the markups described below, but this guide is to be considered the standard for The GitLab Handbook .
Discussions

Table Of Contents (TOC) in Markdown (Wiki and general)
It would be good, if the markdown engine used by Gitlab for on-premise installations would support [TOC] as well. Both for Wikis and also for normal “in-code” .md markdown files. Especially for lengthy documents, so that people quickly can see, what’s documented there. More on forum.gitlab.com
🌐 forum.gitlab.com
6
3
August 16, 2017
How to use GitLab Flavored Markdown's ::include - Community - GitLab Forum
Here our gitlab self-managed version is: GitLab Community Edition [v17.5.5] and we just can’t use GitLab Flavored Markdown’s ::includ module in our markdown file by KB: GitLab Flavored Markdown (GLFM) | GitLab Docs The issue is even we maintained the markdown file with include module part ... More on forum.gitlab.com
🌐 forum.gitlab.com
0
November 26, 2025
Create external link in GitLab Flavored Markdown - Stack Overflow
Is there anyway to link to an external file (non http url) in GitLab Flavored Markdown? e.g. HTML equivalent would be link text e.g. MediaWiki equival... More on stackoverflow.com
🌐 stackoverflow.com
Add support for Gitlab markdown flavour
Discussed in #11903 Originally posted by NamUKF March 30, 2026 Hi, we do really like your work on the support and integration of Gitlab into outline. There are some improvements we found: Support gitlab markdown flavour make issue previe... More on github.com
🌐 github.com
1
March 30, 2026
🌐
GitLab
gitlab.com › gitlab.org › repository
doc/user/markdown.md · aad6708396054719a3c5ae40c2c0593d01db3753 · GitLab.org / GitLab · GitLab
GitLab is the open-source DevSecOps platform that provides a complete software development lifecycle toolchain including source control, CI/CD, security scanning, and project management in a single application.
🌐
GitLab
forum.gitlab.com › how to use gitlab
Table Of Contents (TOC) in Markdown (Wiki and general) - How to Use GitLab - GitLab Forum
August 16, 2017 - Some markdown editors (like stackedit.io) support a [TOC] “command”, which will insert/show a Table Of Contents, based on the headlines of the current document. It would be good, if the markdown engine used by Gitlab for on-premise installations would support [TOC] as well.
🌐
GitLab
genboree.org › help
Index · Specification guide · Gitlab flavored markdown · Development · Help · GitLab
GLFM is divided into two "sets" of Markdown syntax: An "official specification", which is not dependent upon any specific implementation or environment, and can be supported in any editor. "Internal extensions", which may be dependent upon the GitLab environment and metadata.
🌐
GitLab
about.gitlab.com › blog › news › gitlab's realtime preview markdown is an editor for everyone
GitLab's realtime Preview Markdown is an editor for everyone
September 21, 2021 - When you are editing any Markdown file, even a newly created one, you can right-click the editor and select Preview Markdown or use Command/Control + Shift + P to toggle a split-screen live preview of your Markdown content. From there, all you need to do is start writing or editing content and you’ll see your changes in real time! At GitLab, everyone can contribute and we welcome feedback in any form.
Find elsewhere
🌐
GitHub
github.com › outline › outline › discussions › 11903
Gitlab Integration - Support Gitlab markdown flavour · outline/outline · Discussion #11903
Gitlab uses it's own flavour of markdown and enabled e.g. the usage of HTML Comments (https://docs.gitlab.com/user/markdown/#html-comments). We use a lot of gitlab templates, which uses those comments and the preview looks a bit scuffed in outline.
Author: outline
🌐
Embl-community
grp-bio-it-workshops.embl-community.io › building-websites-with-gitlab › 02-markdown › index.html
Authoring With Markdown – Building Websites with GitLab
August 2, 2023 - Use Markdown syntax to add a link in the collaborative notes document you are using to follow along with this lesson. The link text should be your GitLab username, and the target your repository.
🌐
GitLab
design.gitlab.com › product-foundations › type-markdown
Markdown | Pajamas Design System
July 25, 2025 - The fixed type scale is used with GitLab Flavored Markdown (GLFM) and for content such as tables, task lists, and code blocks.
🌐
University of Toronto
microfluidics.utoronto.ca › help › help
Markdown · User · Help · GitLab
You can also use other rich text files in GitLab. You might have to install a dependency to do so. For more information, see the gitlab-markup gem project. This Markdown specification is valid for GitLab only.
🌐
GitLab
gitlab.com › gitlab.org › #15810
Add support for GitLab Flavored Markdown (GLFM) in VS Code / WEB IDE (#15810) · Epics · Epics · GitLab.org · GitLab
November 4, 2024 - The [GitHub Markdown Preview](https://marketplace.visualstudio.com/items?itemName=bierner.github-markdown-preview) extension pack covers many of the additional GitLab features. But they are designed for [GitHub flavored Markdown](https://github.github.com/gfm/) and do not cover all the GitLab styles (e.g.
🌐
Gitlab
gitlab-org.gitlab.io › ruby › gems › gitlab-glfm-markdown
GitLab Flavored Markdown dingus
CommonMark/GFM/GLFM dingus powered by Comrak 0.55.0 · clear · permalink · options · Extension options · alerts · autolink · cjk_friendly_emphasis · description_lists · footnotes
🌐
GitLab
forum.gitlab.com › community
How to use GitLab Flavored Markdown's ::include - Community - GitLab Forum
November 26, 2025 - Here our gitlab self-managed version is: GitLab Community Edition [v17.5.5] and we just can’t use GitLab Flavored Markdown’s ::includ module in our markdown file by KB: GitLab Flavored Markdown (GLFM) | GitLab Docs The …
🌐
GitHub
github.com › outline › outline › issues › 11904
Add support for Gitlab markdown flavour · Issue #11904 · outline/outline
March 30, 2026 - Gitlab uses it's own flavour of markdown and enabled e.g. the usage of HTML Comments (https://docs.gitlab.com/user/markdown/#html-comments). We use a lot of gitlab templates, which uses those comments and the preview looks a bit scuffed in outline.
Author: outline
🌐
GitLab
gitlab.com › gitlab.org › gitlab foss › repository
doc/user/markdown.md · v16.11.4 · GitLab.org / GitLab FOSS · GitLab
GitLab FOSS is a read-only mirror of GitLab, with all proprietary code removed. This project was previously used to host GitLab Community Edition, but all development...
🌐
GitLab
gitlab.com › gitlab.org › repository
doc/user/markdown.md · 9f7a5f939ba61dccb0a1ea098632712b3dbda908 · GitLab.org / GitLab · GitLab
GitLab is the open-source DevSecOps platform that provides a complete software development lifecycle toolchain including source control, CI/CD, security scanning, and project management in a single application.
🌐
GitLab
gitlab.com › gitlab.org › ruby › gems › glfm markdown
GitLab.org / ruby / gems / GLFM Markdown · GitLab
Implements GLFM (as used by GitLab) using the Rust-based Markdown parser Comrak and provides a Ruby interface.