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

fix: parse markdown in toc #813

Merged
merged 1 commit into from
Jan 10, 2023
Merged

fix: parse markdown in toc #813

merged 1 commit into from
Jan 10, 2023

Conversation

tonai
Copy link
Contributor

@tonai tonai commented Jan 10, 2023

This fix is related to #812

Because now markdown is not parsed anymore when wrapped in a component, the toc component does not render the parsed HTML of the original title, but renders the raw markdown (notice the What is `Slidev` ?):
notparsed

This fix the toc component like this (rendering the markdown of the title):
parsed

This PR may not be needed if unplugin/unplugin-vue-markdown#14 is fixed

@antfu antfu merged commit ebfaf8f into main Jan 10, 2023
@antfu antfu deleted the fix/parse-md-in-toc branch September 2, 2023 20:54
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 this pull request may close these issues.

2 participants