mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
documented "to_image"
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1467 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
Function: to_image
|
||||
|
||||
DOC_MSE_VERSION: since 0.3.8
|
||||
|
||||
--Usage--
|
||||
> to_image(any value)
|
||||
|
||||
Convert any value to a [[type:image]].
|
||||
|
||||
A string is interpreted as a [[type:filename]].
|
||||
|
||||
--Parameters--
|
||||
! Parameter Type Description
|
||||
| @input@ ''any type'' Value to convert to an image
|
||||
|
||||
--Examples--
|
||||
>>> to_image("image1.png") == <img src="image1.png" alt='"image1.png"' style="border:1px solid black;vertical-align:middle;margin:1px;" />
|
||||
Reference in New Issue
Block a user