I have a bunch of blog posts in Markdown with associated JS files that add interactive examples. Each blog post has its own set of JS files; they're not shared between post. I basically treat those JS files as I would images — they're just supporting content that needs to go alongside the text.
Unlike images, though, I don't see a way to have Astro process those scripts. I could put them in the public folder, but then I can't store them together with the post itself. The solution I arrived at was adding a _Scripts.astro file for each post that just has a script tag that imports all the examples, and then including that component in the MDX file. I'd like to avoid that if possible — for one, when Astro generates my RSS feed it doesn't cut out the extra MDX stuff. Any ideas?