-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
36c21d3
commit 5a70073
Showing
3 changed files
with
24 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
code-body: yes | ||
created: 20230914045616286 | ||
creator: 马不前 | ||
modified: 20230914110818419 | ||
modified: 20230930164614843 | ||
modifier: 马不前 | ||
tags: 快速查找 | ||
tags: Configuration | ||
title: original-title-template | ||
|
||
<$list filter="[all[current]]" > | ||
|
||
<$link> | ||
<$text text={{{ [<currentTiddler>get[text]splitregexp[\n]first[]removeprefix[#]] }}} /><br> | ||
{{!!caption}} | ||
{{!!caption}}<br> | ||
{{!!original-title}} | ||
</$link> | ||
|
||
</$list> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
created: 20230930164415100 | ||
creator: 马不前 | ||
modified: 20230930164720469 | ||
modifier: 马不前 | ||
tags: Configuration | ||
title: 替换 | ||
|
||
<$button tooltip="替换"> | ||
<$list filter="[has[obvault]] :filter[get[text]prefix[#]]" variable="thisTitle"> | ||
<$action-setfield original-title={{!!caption}} /> | ||
<$let zh={{{ [<thisTitle>get[text]splitregexp[\n]first[]removeprefix[#]] }}}> | ||
<$action-setfield caption=<<zh>> /> | ||
</$let> | ||
</$list> | ||
替换 | ||
</$button> |