The problem is that mdsvex is a Markdown preprocessor for Svelte components, thus acting at compile-time. Though it can be made use of in dynamic contexts, there are better solutions for this.
Something like svelte-markdown (based on Marked) that renders Markdown dynamically will do the job better here