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, "I am a sample normal_note")^ ^do(IncSB, "I am a sample code_note")^ ^do(IncSB, "I am a sample audio_note")^ ^do(IncSB, "I am a sample person_note")^ ^do(IncSB, "I am a sample person_note with image")^ ^do(IncSB, "I am a sample article_note")^ ^do(IncSB, "I am a sample fulltext book_note")^ ^do(IncSB, "I am a sample quote_note")^ ^do(IncSB, "I am a sample quote_ana_note")^ ^do(IncSB, "I am a sample event_note")^
normal_note
I am a sample normal_note
2016.06.26 – …
code_note
I am a sample code_note
This code note has been made for demo purposes
Syntax: filename, title, [class, href, width]
audio_note
|
I am a sample audio_note |
person_note
|
I am a sample person_note 1547 – 1637 |
person_note with $blogImage
I am a sample person_note with image 1547 – 1637 |
article_note
1995 |
I am a sample article_note |
book_note with full text
quote_note
❝1936 |
I am a sample quote_note |
quote_ana_note
1766 |
I am a sample quote_ana_note |
event_note
350 BCE – 1858 |
I am a sample event_note |
This is text from the “current” note. Notice the seamless integration.
For a full list, see Explore Prototype export schemes.