Skip to content

Commit 976f592

Browse files
committed
add new shortcut trigger
1 parent e1352ec commit 976f592

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

2.trans.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3334,7 +3334,7 @@ def replace_in_file(file_path, translation, base_path=BASE_PATH):
33343334
# ckeditor 代码块通过中文的 · 触发
33353335
# ckeditor code block trigger by chinese ·
33363336
target_element = '/^```$/'
3337-
new_element = '/^(```|···)$/'
3337+
new_element = '/^(```|···|```)$/'
33383338
if target_element in content:
33393339
content = content.replace(target_element, new_element)
33403340

0 commit comments

Comments
 (0)