OnEnterRule interface
Describes a rule to be evaluated when pressing Enter.
Properties
action | The action to execute. |
after |
This rule will only execute if the text after the cursor matches this regular expression. |
before |
This rule will only execute if the text before the cursor matches this regular expression. |
Property Details
action
afterText
This rule will only execute if the text after the cursor matches this regular expression.
afterText?: RegExp
Property Value
RegExp
beforeText
This rule will only execute if the text before the cursor matches this regular expression.
beforeText: RegExp
Property Value
RegExp
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for