Auto Replace
WonderPen supports automatic replacement of specified characters during input. Using this function well can improve input efficiency.
Basic usage
The automatic replacement function is located in the Settings window → Advanced → Auto Replace, as shown below:

You can add automatic replacement rules here, and only the selected rules will take effect.
When you enter content in the editor, the automatic replacement rules will automatically check the current input content and perform replacement. If there are multiple rules, they will be matched and executed in order from top to bottom.
For example, you can add a rule to replace a person's name with an abbreviation, as shown below:

Remember to check the box in front of the rule to make it effective. After adding this rule, when you enter ;al
in the editor, WonderPen will automatically replace ;al
with Andy Lau
.
Or replace :)
with 😊 and :(
with 😢, as shown below:

Undo Replacement
If an automatic replacement is not what you want, you can use the Undo function to undo the replacement. Simply press Ctrl + Z ( ⌘ + Z on macOS) or click Edit → Undo in the top menu.
Cursor position
By default, after automatic replacement, the cursor will stay at the end of the replaced text. If you want the cursor to stay at a specified position, you can add %|%
to the rule to indicate the cursor, as shown in the following figure:

Some examples
Paired punctuation completion
Combined with the cursor position, some useful functions can be implemented, such as automatic completion of paired punctuation, such as automatic completion of double quotes:
Rule | Replace with |
---|---|
" | “%|%” |
“ | “%|%” |
” | “%|%” |
In this way, when you enter any double quotes ("
, “
, ”
), WonderPen will automatically replace it with “”
and keep the cursor in the middle, making it convenient to continue entering the conversation content.
Bracket completion
Likewise, you can autocomplete brackets:
Rule | Replace with |
---|---|
( | (%|%) |
Character Name
If you are writing a novel, you can set abbreviations for the names of common characters to improve input efficiency, such as:
Rule | Replace with |
---|---|
;al | Andy Lau |
;jc | Jacky Cheung |
11 | Bruce Lee |
12 | Maggie Cheung |
Typographical correction
When using voice input, sometimes there will be typos, especially when entering names of people or places. For example, our character is called Steven
, but the voice input method often recognizes it as Stephen
. In this case, we can add a rule:
Rule | Replace with |
---|---|
Stephen | Steven |
In this way, when you enter Stephen
, WonderPen will automatically replace it with Steven
.
Template
You can also create templates with automatic substitution, for example:

When you enter ;weekly
, it will be automatically replaced with the preset weekly report template, allowing you to quickly create a weekly report.