Pass Data in matter() Option #110
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Is there a way to pass global data or other kinds of data e.g. required() data in an object into the option field? That way we can just reference it like
The object is supplied in another javascript code with
This package (
gray-matter) does not do anything with those values in the front matter. It just parses the front matter from the contents passed in and turns it into an object. This means your.dataproperty will look like this:You can use something else, like expand to ... expand those values.