toc
toc:
enable: true
# Automatically add list number to toc.
number: false
# If true, all level of TOC in a post will be displayed, rather than the activated part of it.
expand_all: true
# If true, open TOC every time when you enter the article page
init_open: true
This configuration item is used to set the TOC directory structure of the article. It is a very practical function. You can quickly view the article directory structure and jump. It is recommended to enable it.
number
automatically numbers the directory structurenumber: false
number: true
expand_all
expands all directory structuresexpand_all: true
automatically expands all directory structuresexpand_all: false
expand the directory of the corresponding position while scrolling the page
init_open
whether to automatically open the TOC directory structure when opening the article page