You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importfmfrom'front-matter';const{ frontmatter, body }=fm(md);constresultCode=Prism.highlight(frontmatter,Prism.languages['yaml'],'yaml')+Prism.highlight(body,Prism.languages['md'],'md')
Motivation
When highlighting GitHub's issue or PR templates or markdown files for Jekyll, the meta info about those files isn't highlighted.
Description
Front matter is a short section of meta-information in YAML (or similar languages) about a file and usually looks like this:
For now, it should be enough to support YAML front matter as that seems to be the most common.
The text was updated successfully, but these errors were encountered: