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
Sample code_note
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 |
book_note with full text
1779 |
Sample book_note B |
quote_note
❝1936 |
Sample quote_note |
quote_ana_note
1766 |
Sample quote_ana_note |
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.