title: TypedBlockTests
WikiText can include blocks of text that are rendered with an explicit MIME type like this:
{{{
$$$application/javascript
//This is some JavaScript
return 2 + "one";
$$$
}}}
This renders as:
$$$application/javascript
//This is some JavaScript
return 2 + "one";
$$$
It is also possible to abbreviate the MIME type to a file extension. For example:
{{{
$$$.svg
$$$
}}}
This renders as:
$$$image/svg+xml
$$$