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: slide formatter #1379

Merged
merged 3 commits into from
Mar 7, 2024
Merged

fix: slide formatter #1379

merged 3 commits into from
Mar 7, 2024

Conversation

KermanX
Copy link
Member

@KermanX KermanX commented Mar 7, 2024

Previously, the built-in slide formatter will remove all the comments in the frontmatter. This PR uses frontmatterRaw instead.

The difference between the built-in formatter and the Prettier plugin is that the built-in formatter does nothing to the content of the slide.

Tested:

  • Editing slide in the side editor
  • slidev format slides.md

@antfu antfu merged commit ff1ca70 into slidevjs:main Mar 7, 2024
20 checks passed
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