kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Tweak background colour of HTML-in-SVG demo
To make it look different from the page background colourprint-window-tiddler
rodzic
713d6945c6
commit
34e6d79ef6
|
@ -1,6 +1,7 @@
|
|||
created: 20131028132700000
|
||||
modified: 20131214173740046
|
||||
title: UsingSVG
|
||||
modified: 201310281327
|
||||
created: 201310281327
|
||||
type: text/vnd.tiddlywiki
|
||||
|
||||
TiddlyWiki5 allows you to use SVG to display vector graphics in two ways:
|
||||
|
||||
|
@ -38,7 +39,7 @@ You can include simple text strings in SVG images using the `<text>` element:
|
|||
|
||||
HTML or WikiText content can be included within inline SVG images using the `<foreignObject>` element. For example:
|
||||
|
||||
<svg width="260px" height="260px"><circle cx="150" cy="150" r="100" fill="blue" stoke="red"/><foreignObject x="70" y="110" width="150" height="180"><body style="background:#ddd;">Here is some text that requires a word wrap, and includes a [[link to a tiddler|HelloThere]].</body></foreignObject></svg>
|
||||
<svg width="260px" height="260px"><circle cx="150" cy="150" r="100" fill="blue" stoke="red"/><foreignObject x="70" y="110" width="150" height="180"><body style="background:#dec;">Here is some text that requires a word wrap, and includes a [[link to a tiddler|HelloThere]].</body></foreignObject></svg>
|
||||
|
||||
! Transcluding SVG elements
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue