feat(v2): add TOC to markdown pages #3529

This commit is contained in:
Sébastien Lorber 2020-10-03 17:33:36 +02:00 committed by GitHub
parent 0951eef2d7
commit 637fe0087d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 27 additions and 5 deletions

View file

@ -14,6 +14,7 @@ declare module '@theme/MDXPage' {
readonly title: string;
readonly description: string;
readonly wrapperClassName?: string;
readonly hide_table_of_contents?: string;
};
readonly metadata: {readonly permalink: string};
readonly rightToc: readonly MarkdownRightTableOfContents[];