mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-09-19 10:49:43 +00:00
14 lines
352 B
Plaintext
14 lines
352 B
Plaintext
|
title: TypedBlockTests
|
||
|
|
||
|
Here's an example of a typed block containing JavaScript source code:
|
||
|
$$$.js
|
||
|
return 2+2;
|
||
|
$$$
|
||
|
|
||
|
Here's an example of a typed block containing an SVG image:
|
||
|
$$$image/svg+xml
|
||
|
<svg xmlns="http://www.w3.org/2000/svg" width="150" height="100">
|
||
|
<circle cx="100" cy="50" r="40" stroke="black" stroke-width="2" fill="red" />
|
||
|
</svg>
|
||
|
$$$
|