Snapblocks have now been added to the forum (thanks Michael)!
You can add snapblocks by clicking on the gear, and then "snapblocks"
Or you can put it in [snapblocks], [scratchblocks], or [sb] bbcode tags.
[snapblocks]
move (10) steps
[/snapblocks]
move (10) steps
You can use [sb] to add snapblocks inline with text.
Use the [sb] move (10) steps [/sb] to move 10 steps.
Use the move (10) steps
to move 10 steps.
You can change the block style by doing
[snapblocks="snap-flat"]
if <[] = []> {
forever {
run ({say []} @addInput) with inputs [Hello world] @delInput @verticalEllipsis @addInput
}
}
[/snapblocks]
if <[] = []> { forever { run ({say []} @addInput) with inputs [Hello world] @delInput @verticalEllipsis @addInput } }
There are also more options you can use.
[snapblocks blockStyle="scratch2" zebra="false" wrap="true" wrapSize=100 showSpaces="false"]
if <[] = []> {
forever {
run ({say []} @addInput) with inputs [Hello world] @delInput @verticalEllipsis @addInput
}
}
[/snapblocks]
if <[] = []> { forever { run ({say []} @addInput) with inputs [Hello world] @delInput @verticalEllipsis @addInput } }
All the options are on (true) by default, although the only option anyone would probably ever use is blockStyle
.
This plugin also fixes many issues with the precious scratchblocks plugin. First of all, this works in all forum themes. Second, you don't need to do funky stuff in order to get icons to render properly.
If you want to know everything you can do in snapblocks, you can go here.