The fx-output Element

Using ref and value

Output different mediatypes

HTML taken from an instance (mediatype='html')

For demo purposes the fx-output element with mediatype have a blue border.

Images

With mediatype "image" the bound value is expected to be a link to be dereferenced an

Markdown

This works with the help of drawdown.js which needs to be imported in the page.

It uses a custom function to do the actual conversion.

.