`LAlt up::
If (A_PriorKey = "LAlt") ; If LAlt was pressed alone
return ; do nothing
return
; In this case its necessary to define a custom combination by using "LAlt &" or "<!"
; to avoid that LAlt loses its original function as a modifier key:
<!F4:: Send {Alt Down}{F4}{Alt Up} ; <! means LAlt`
`~LAlt::
KeyWait, LAlt
return
`
`~LAlt Up::
Send, {LAlt Up}
return
`
@kartoo in markdown syntax you use triple back ticks or indentation to mark code blocks
For example replacing the single ticks with triple in your example produces the correct behavior on this website
If (A_PriorKey = "LAlt") ; I`Preformatted text`f LAlt was pressed alone
return ; do nothing
return
; In this case its necessary to define a custom combination by using "LAlt &" or "<!"
; to avoid that LAlt loses its original function as a modifier key:
<!F4:: Send {Alt Down}{F4}{Alt Up} ; <! means LAlt
~LAlt::
KeyWait, LAlt
return
~LAlt Up::
Send, {LAlt Up}
return
Checkout a reference for formatting code in markdown here
Yes, because the icons can be used to format selected text. Imagine you have a sentence, select one or two word(s) in the middle and hit the code icon. In that case the result would be something like: