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

Rmd detection ignores front matter #507

Closed
renkun-ken opened this issue Dec 24, 2021 · 0 comments · Fixed by #525
Closed

Rmd detection ignores front matter #507

renkun-ken opened this issue Dec 24, 2021 · 0 comments · Fixed by #525
Labels

Comments

@renkun-ken
Copy link
Member

renkun-ken commented Dec 24, 2021

When user types in the front matter of the R Markdown document, some language providers are triggered.

---
title: "Hello document"
---

For exmaple, hitting "enter" in the end of the above title line, the range formatting will be triggered and the front matter becomes:

---
  title:"Hello document"

---

This is no longer a valid YAML front matter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant