The Tree of Widsdom

智慧の樹

Macros for text


Adding an Imagemap suppresses SmartButtons by default. To force them, I have added the BUTTONS export option to this note.
Macro
Anchor

Adds a link to a bookbark (subsection heading)

Syntax: sub-post name, post name, [linkname]

Macro
Button

Adds a Bootstrap button on a new line

Syntax: title, href, [Bootstrap class], [center|right]

Macro
Color

Adds colored text

Syntax: color, text

Macro
DocHere

Adds a hover-revealed code block

Syntax: body, [title]

Macro
Download

Adds a download button (uses Downloads Directory)

Syntax: title, filename, [img]

Macro
Glyph

Embeds a Bootstrap Glyphicon

Syntax: glyphname, [fontsize-as-percent]

Macro
Iframe

Embeds a webpage in an iframe

Syntax: notename

Macro
IncChild

Embeds a note’s child by sibling order

Syntax: [sibling order]

Macro
IncPanel

Embeds a note as a default-class Panel

Syntax: notename

Macro
IncSB

Embeds a note as a SmartButton

Syntax: notename

Macro
IncWell

Embeds a note inside a well

Syntax: notename

Macro
IncWin

Embeds a note as a mock Mac OS window

Syntax: notename

Macro
PanelArticle

Wraps fresh text in a Panel with citation info and links from notename

Syntax: notename, description

Macro
PanelGlass

Adds a decorative Panel with url link

Syntax: title, body, [url]

Macro
PanelZoom

Wraps fresh text in a Panel with citation info and links from notename

Syntax: notename, description

Macro
PanelInfo

Adds an info-class Panel

Syntax: title, body

Macro
PanelWarning

Adds a warning-class Panel

Syntax: title, body

Macro
PoemHere

Adds a poem block with citation info and url

Syntax: text, [author], [title], [url]

Macro
PreHere

Adds a code block with optional ButtonTop

Syntax: body, [title|t]

Macro
QuoteHere

Adds a blockquote with citation info and url

Syntax: text, [author], [title], [url]

Macro
QuotePull

Adds a pull quote with citation info

Syntax: text, [author]

Macro
ScriptHere

Adds a script block with citation info and url

Syntax: text, [author], [title], [url]

Macro
SpanButton

Adds an inline Bootstrap button

Syntax: title, href, [Bootstrap class]

Macro
SpanDef

Adds text with tooltip

Syntax: text, tooltip

Macro
SpanHilite

Adds text with beveled highlight

Syntax: text

Macro
Table

Translates a Mac OS table into an HTML table

Syntax: caption, head, Mac OS table

Macro
TableHere

Translates a tab-separated table into an HTML table

Syntax: caption, head, body

Macro
TableSum

Adds a 2-column ∑-table with values from previous siblings

Syntax: col1, col2

Macro
WellHere

Adds a well with smaller text

Syntax: text

Macro
WellYell

Adds a yellow well with darker text

Syntax: text

Macro
WinHere

Adds a Mac OS-type window

Syntax: title, text