Is it possible to add our own preprocessor? I’d li...
# random
a
Is it possible to add our own preprocessor? I’d like to inject some additional global components and see how you’re doing it with the preprocessor but can’t identify if thats feasible
b
@acoustic-angle-84817 I've done this in our marketing site, but it felt a bit hacky. If you can wait just a couple of days for it, our components plugins functionality will be released: • https://github.com/evidence-dev/evidence/pull/878https://github.com/evidence-dev/evidence/issues/918 Which may make your life easier
a
Ahhh cool - so plugin components are not generic preprocessors but instead allow a specific custom component to be injected into global scope if defined in some manifest file?
b
yes - in fact
this is in pre-release if you want to do it now
let me point you at the right release tag
a
super cool! No no, not urgent. Just looking for ways to knock down the perceived complexity of the md files.
Happy to pick it up when it comes!
thanks!
b
Yeah makes sense - keep your eyes peeled on #releases
1
The docs are actually slightly ahead of the most recent release, so you can see how this will work already https://docs.evidence.dev/plugins/ 😅
a
ahhhh yep, makes sense!