Open markjaquith opened 2 years ago
Let's revisit this once the typescript
branch is shipped. There was a ton of issues with the unified
ecosystem I had to slog through. Hopefully we can add something to make these errors better now that their chaos is behind us.
I had some tags in my frontmatter like this:
Since my editor shows tabs as two spaces, I didn't notice that
Two
was tab-indented.The way this presents when building will depend on your setup, but for me it was:
But my custom slug formatter also uses frontmatter, so before I made the accessing of frontmatter there safe, it was erroring in there.
I think the markdown plugin should detect when frontmatter parsing has resulted in
undefined
, as otherwise spooky things are gonna happen downstream.