The Tree of Widsdom

智慧の樹

Macros for media


Macro
ImgHere

Embeds an inline image the same height as your text

Syntax: filename, title

Macro
MediaAudio

Embeds the default HTML5 audio player

Syntax: filename, [title]

Macro
MediaFig

Embeds an image with caption

Syntax: filename, title, [class, href, width]

Macro
MediaFigLR

Embeds a before/after image pair with caption

Syntax: filename1, filename2, title

Macro
MediaFigTog

Embeds a hover-toggled image with caption

Syntax: filename1, filename2, title, [class]

Macro
MediaImg

Embeds an image (no caption)

Syntax: filename, title, [class, href, width]

Macro
MediaImgTog

Embeds a hover-toggled image (no caption)

Syntax: filename1, filename2, title, [class]

Macro
MediaThumbs

Embeds thumbnail images

Syntax: grid-specs, filename+tab+caption

Macro
MediaThumbsCap

Embeds thumbnail images with captions

Syntax: grid-specs, filename+tab+caption

Macro
MediaTube

Embeds a responsive 4x3 YouTube iframe

Syntax: url

Macro
MediaTube16

Embeds a responsive 16x9 YouTube iframe

Syntax: url

Macro
MediaTubeSmall

Embeds a static standard (400 x 300) YouTube iframe

Syntax: url

Macro
MediaVid

Embeds a 4x3 HTML5 video player

Syntax: filename, [type]

Macro
MediaVid16

Embeds a 16x9 HTML5 video player

Syntax: filename, [type]

Macro
MediaWin

Embeds a Mac OS window snapshot with caption

Syntax: filename, title, [class, href, width]

Macro
MediaWinTog

Embeds a hover-toggle Mac OS window snapshot with caption

Syntax: filename1, filename2, title, [class]