Closed ianwalter closed 4 years ago
Is this to access the front-matter data in your bundler config?
I'm building tooling that uses MDsveX so I'm actually calling svelte.preprocess directly, not through a bundler, but essentially yes.
Sorry for the delay. I'm thinking about building some tooling to solve this issue specifically but I don't think a preprocessor is the right place for it.
Would you accept a PR for a frontmatter option which would basically be a callback that is passed the
attributes
value? I'm trying to get the frontmatter data in a less roundabout way. Thanks!