Closed Nemikolh closed 1 month ago
Run & review this pull request in StackBlitz Codeflow.
Latest commit: |
e6e3a34
|
Status: | ✅ Deploy successful! |
Preview URL: | https://eed19f1f.tutorialkit-demo-page.pages.dev |
Branch Preview URL: | https://joan-fix-extensions-frontmat.tutorialkit-demo-page.pages.dev |
This PR makes sure that the autocompletion and validation for the frontmatter applies primarily to files that should be within a tutorialkit project. The heuristic used is very simple and not perfect so there could still be false positive. However, after this PR it will become very unlikely as one would need to create a markdown file named
meta.md
orcontent.md(x)
under asrc/content/tutorial
path.Note that files under
_files
and_solution
are ignored as this could be a common situation where the extension would incorrectly perform validation and provide autocompletions.Closes #237