diff --git "a/tiddlers/\345\276\256\344\273\266 wikify \347\224\250\346\263\225\347\244\272\344\276\213.tid" "b/tiddlers/\345\276\256\344\273\266 wikify \347\224\250\346\263\225\347\244\272\344\276\213.tid" new file mode 100644 index 00000000..95a314ae --- /dev/null +++ "b/tiddlers/\345\276\256\344\273\266 wikify \347\224\250\346\263\225\347\244\272\344\276\213.tid" @@ -0,0 +1,50 @@ +created: 20231013022846023 +creator: WhiteFall +modified: 20231013024141235 +modifier: WhiteFall +tags: 高级知识 Wiki编程的定义 +title: 微件 wikify 用法示例 + +```html +<$let target-text={{条件语法!!text}} Snapshot-tiddler="Snapshot/条件语法" > + + <$wikify text=<> name="compiled" output="html"> + <$button tooltip="Create" message="tm-copy-to-clipboard" param=<> > + <$action-setfield $tiddler=<> $field="text" $value=<> /> + Create + + <$button tooltip="Delete"> + <$action-deletetiddler $tiddler=<> /> + <$action-sendmessage $message="tm-close-tiddler" $param=<> /> + Delete + + + + <$tiddler tiddler=<>> +
+ <$transclude /> +
+ + +``` + +<$let target-text={{条件语法!!text}} Snapshot-tiddler="Snapshot/条件语法" > + + <$wikify text=<> name="compiled" output="html"> + <$button tooltip="Create" message="tm-copy-to-clipboard" param=<> > + <$action-setfield $tiddler=<> $field="text" $value=<> /> + Create + + <$button tooltip="Delete"> + <$action-deletetiddler $tiddler=<> /> + <$action-sendmessage $message="tm-close-tiddler" $param=<> /> + Delete + + + + <$tiddler tiddler=<>> +
+ <$transclude /> +
+ + \ No newline at end of file