14
7

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

GitLab wiki で目次を自動生成する

Last updated at Posted at 2019-03-10

はじめに

GitLabのWikiを使っていて、目次が欲しくなる。
[[_TOC_]]を入力することで、目次を入れてくれることがわかる。

入力例

以下のように入力すると

[[_TOC_]]

# wiki_test
## first
aaa

## second
bbb

## third
ccc

表示例

以下のように目次が入る

スクリーンショット 2019-03-10 9.34.54.png
14
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
14
7

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?