When using a string, the shortcut applies regardless of the characters
surrounding it.
When using an object literal the value key is required an indicate the
shortcut substitution.
The "after" key, if present, indicate in what context (preceding characters)
the shortcut will apply. One or more values can be specified, separated by a '|'
character. If any of the values match, the shortcut is applicable.
An inline shortcut can be specified as a simple string or as an object literal with additional options:
When using a string, the shortcut applies regardless of the characters surrounding it.
When using an object literal the
value
key is required an indicate the shortcut substitution.The
"after"
key, if present, indicate in what context (preceding characters) the shortcut will apply. One or more values can be specified, separated by a '|' character. If any of the values match, the shortcut is applicable.Possible values are:
"space"
\quad
"nothing"
"surd"
"frac"
"function"
\sin
orf
"letter"
x
orn
"digit"
0
through9
"binop"
+
"relop"
=
"punct"
,
"array"
"openfence"
(
"closefence"
}
"text"