Elements in markdown files

Originally posted by Citizen-500 on May 06, 2026

Hello

Using the guide:

https://docs.stoplight.io/docs/elements/a71d7fcfefcd6-elements-in-html

I have no trouble getting a local json file to render in an html page.

I would like to achieve the same in a markdown (.md) page; no success so far. I had considered building e.g. a React component to inject into the page however that is not an option.

Is there a straightforward way to do this, along the lines of how it is done for html?

Thanks