I know that the "code" button is there, but most of the people use "Autohotkey code" because it looks better.
But is there really a visual advantage of the
codebox tag over the simple
code tag ?
Codebox tag (with 'autohotkey' format selected):
Code: Select all
F12::
if (Tickcount_old>0){
TrayTip, Timer , % A_TickCount- Tickcount_old " miliseconds", 10
}
else{
TrayTip, Timer , started, 2
}
Tickcount_old:= A_TickCount
return
"Normal"
Code tags (fifth button from the left; in the 'Digi' theme it is labeled
</>):
Code: Select all
F12::
if (Tickcount_old>0){
TrayTip, Timer , % A_TickCount- Tickcount_old " miliseconds", 10
}
else{
TrayTip, Timer , started, 2
}
Tickcount_old:= A_TickCount
return
The only difference seems to be the additional "Download" link, when
Codebox is used instead of
code.
That's why I usually just use the
code tags, and don't even bother with the codebox dropdown.
Or are you talking about
inline code tags (
c-tags) ? In my experience, there are not many people who use them for multi-line code:
if (Tickcount_old>0){
TrayTip, Timer , % A_TickCount- Tickcount_old " miliseconds", 10