IncSB

^do( IncSB, notename )^

Type: Macro

Purpose: Embeds a note as a SmartButton

You can insert a SmartButton anywhere with the IncSB macro. This is just a convenience for ^include(notename, bstSB)^.

Hover below to reveal BoxPress code

^include(^value("$1")^, bstSB)^

IncSB sample

This is the markup that is rendered below

^do(IncSB, "Sample normal_note")^
^do(IncSB, "Sample code_note")^
^do(IncSB, "Sample audio_note A")^
^do(IncSB, "Sample person_note A")^
^do(IncSB, "Sample person_note B")^
^do(IncSB, "Sample article_note")^
^do(IncSB, "Sample book_note B")^
^do(IncSB, "Sample quote_note")^
^do(IncSB, "Sample quote_ana_note")^
^do(IncSB, "Sample event_note")^

normal_note

Sample normal_note

code_note

Type
Sample code_note

This code note has been made for demo purposes

Scope:   This is my scope

Syntax: Arg1, Arg2, [OptionalArg3]

audio_note

Sample audio_note A

person_note

Sample person_note A

1547 – 1637

person_note with $bpImage

Sample person_note B

1547 – 1637

article_note

2009

Sample article_note

Gollwitzer, Peter M., Sheeran, Paschal, Michalski, Verena & Seifert, Andrea (2009). When Intentions Go Public. Psychological Science, Vol. 20, No. 5, 612-18.

book_note with full text

quote_note

1936

Sample quote_note

H. P. Lovecraft. The Haunter of the Dark

quote_ana_note

1766

Sample quote_ana_note

Franz Mesmer. On the Influence of the Planets on the Human Body

event_note

350 BCE – 1858

Sample event_note

This is text from the “current” note. Notice the seamless integration.

For a full list, see Explore Prototype export schemes.