Steps to Reproduce:
Add TOML frontmatter to a markdown file
Observe that it doesn’t have syntax higlighting (in comparison to YAML frontmatter)
TOML (Tom’s Obvious, Minimal Language) – easy to read configuration file format
textmate – language grammar is used only to parse the document and assign names to subsets
better-toml– toml extension for vs code editor
Front Matter-allows you to keep metadata attached to an instance of a content type
After a great deal of confusion trying to connect the dots between Hugo, TOML, Font Maker, language injection I decided to reach out for help.
As I was waitng for a response from Matt and the Slack channel, I tried to isolate the problem as best as I could.
Instead of having to rebuild the full dev enviroment + extension, why not create a light weight test extension with just the features I needed to add.
I begain reading up on how to create and manage a vscode extension.
After many failed attempts I was able to isolate TOML code block from a Markdown file.
The only issue now is trying to connect the code block to existing syntax highlighters.