Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export ToC as a variable #1

Closed
yordis opened this issue Oct 31, 2021 · 0 comments · Fixed by #2
Closed

Export ToC as a variable #1

yordis opened this issue Oct 31, 2021 · 0 comments · Fixed by #2

Comments

@yordis
Copy link
Contributor

yordis commented Oct 31, 2021

Related to: wooorm/xdm#96 (comment)

Add tableOfContents with the content,

export const tableOfContents = {}

export default function MDXContent() {  }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant