Added wikitext image support

We’ve added a parser to recognise the `[img[URL or tiddler title]]`
format, and an associated image widget.
This commit is contained in:
Jermolene
2014-04-17 12:52:32 +01:00
parent ace57dd205
commit ad4b03506a
4 changed files with 317 additions and 2 deletions

View File

@@ -0,0 +1,20 @@
title: ImageWidget
created: 20140416160234142
modified: 20140416160234142
tags: widget
! Introduction
The image widget displays images that can be specified as a remote URL or the title of a local tiddler containing the image.
! Content and Attributes
Any content of the `<$image>` widget is ignored.
|!Attribute |!Description |
|source |The URL of the image, or the title of an image tiddler |
|width |The width of the image as a number |
|height |The height of the image |
|tooltip |The tooltip to be displayed over the image |
|class |CSS classes to be assigned to the `<img>` element |