Access to Token Stream in Markdown Rendering

hi,

I’m using shortcodes to augment my articles. I’d like to improve the SEO by having HTML render on the server side instead of having to render it using Javascript. Here is an example of what I’m attempting to do in Zola/Rust instead of Javascript

Obviously I can’t render a chart on the server, but for simpler components such as a hero or something else?

I’d like the body of the shortcode to be available in Zola/Rust and then I’d like to apply an HTML template to it accordingly. Is this possible with the current Zola APIs?

Thank you