mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-13 17:17:28 +02:00
feat(v2): add TOC to markdown pages #3529
This commit is contained in:
parent
0951eef2d7
commit
637fe0087d
3 changed files with 27 additions and 5 deletions
|
@ -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[];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue