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

feat: preserve comments in frontmatter #1518

Merged
merged 1 commit into from Apr 11, 2024

Conversation

KermanX
Copy link
Member

@KermanX KermanX commented Apr 11, 2024

This PR migrates js-yaml to yaml, because yaml can preserve the comments inside the frontmatter.

Usage:

  • updating dragPos
  • updating contextmenu (feat: context menu #1475)
  • now prettifySlide will "format" the frontmatter (removing redundant spaces, etc.)

Copy link

netlify bot commented Apr 11, 2024

Deploy Preview for slidev ready!

Name Link
🔨 Latest commit 314a95b
🔍 Latest deploy log https://app.netlify.com/sites/slidev/deploys/6617f0a6c36e1f0008d6bfe7
😎 Deploy Preview https://deploy-preview-1518--slidev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@antfu antfu merged commit 7f5622f into slidevjs:main Apr 11, 2024
24 checks passed
@KermanX KermanX mentioned this pull request Apr 13, 2024
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.

None yet

2 participants