FEAT: Validate (and preprocess?) Frontmatter in .md
and .mdx
files
#135
Labels
enhancement
New feature or request
front end
front end dev tasks (react/js component builds, css, html)
Note: for support questions, please use #ug-code-for-tulsa slack channel in Techlahoma or stackoverflow. This repository's issues are reserved for feature requests and bug reports.
I'm submitting a ...
What is the current behavior?
You can put anything you want into the front-matter section of a
.md
or.mdx
file, whether or not it's correct. If the front-matter schema doesn't match what our pipeline expects, you might get unexpected behavior, a silent bug, or an unhelpful error.https://plnkr.co or similar (you can use this template as a starting point: http://plnkr.co/edit/tpl:AvJOMERrnz94ekVua0u5).
We're not using front-matter inputs anywhere as of yet, so it can't be reproduced easily.
A helplful and descriptive build error should occur in any of the following events:
Good errors make for better communication between devs and content creators. This also allows us to preprocess when we validate. Finally, the content migrated from the old site causes all sorts of errors stemming from the format of the front-matter, and we would like to know specifically what needs fixing.
Please tell us about your environment:
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)
This unblocks #101 , #81 , #2
The text was updated successfully, but these errors were encountered: