mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-23 15:36:52 +00:00
Text-Slicer: Add support for static rendering of external images
This commit is contained in:
parent
5faba15446
commit
2d9471fe3b
@ -1,3 +1,13 @@
|
|||||||
title: $:/plugins/tiddlywiki/text-slicer/templates/static/image
|
title: $:/plugins/tiddlywiki/text-slicer/templates/static/image
|
||||||
|
|
||||||
|
<$reveal state="!!_canonical_uri" type="match" text="">
|
||||||
|
|
||||||
`<img src="data:`<$view format="text" field="type"/>`;base64,`<$view format="text" field="text"/>`" class="`{{||$:/plugins/tiddlywiki/text-slicer/templates/static/helpers/classes}}`">`
|
`<img src="data:`<$view format="text" field="type"/>`;base64,`<$view format="text" field="text"/>`" class="`{{||$:/plugins/tiddlywiki/text-slicer/templates/static/helpers/classes}}`">`
|
||||||
|
|
||||||
|
</$reveal>
|
||||||
|
|
||||||
|
<$reveal state="!!_canonical_uri" type="nomatch" text="">
|
||||||
|
|
||||||
|
`<img src="`<$text text=<<tv-external-image-path>>/><$view field="title" format="doubleurlencoded"/>`" class="`{{||$:/plugins/tiddlywiki/text-slicer/templates/static/helpers/classes}}`">`
|
||||||
|
|
||||||
|
</$reveal>
|
||||||
|
Loading…
Reference in New Issue
Block a user