← Links and Bookmarks | Contents | Source Code →
Same as for links , you can also include images and figures
using Textile or Markdown. If you want additional features, you can use the image
macro and the figure
macro, as shown in the following
example:
Example
The following Glyph code:
1 image[glyph.svg
2 @with[20%]
3 @height[20%]
4 ]
5 figure[example.png|An example figure.
6 @alt[Example Figure]
7 ]
Is translated into the following HTML code:
1 <img src =" images/glyph.svg " width =" 20% " height =" 20% " />
2 <div class =" figure " >
3 <img src =" images/example.png " alt =" Example Figure " />
4 <div class =" caption " > An example figure.</div>
5 </div>
Any attribute passed to the image
macro
or the figure
macro is automatically
passed to the underlying <img>
tag.
Note In future releases, figures will be numbered automatically and included in a
List of Figures section.
← Links and Bookmarks | Contents | Source Code →