mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-04-26 19:34:39 +00:00
Provide examples for the wikify widget (#8792)
* Provide examples for the wikify widget * fix a typo in the wikify widget doc tiddler * Update and rename TestCases_WikifyWidget_WidgetInput_Fail.tid to TestCases_WikifyWidget_WidgetValue_Fail.tid * Update and rename TestCases_WikifyWidget_WidgetInput_Success.tid to TestCases_WikifyWidget_WidgetValue_Success.tid * Update WikifyWidget.tid * Update TestCases_WikifyWidget_WidgetValue_Fail.tid * Update TestCases_WikifyWidget_WidgetValue_Success.tid * Update WikifyWidget.tid * Update TestCases_WikifyWidget_WidgetValue_Success.tid fix small error causing validation to fail * Update TestCases_WikifyWidget_WidgetValue_Success.tid * remove trailing end line * remove trailing new line * add description, remove modified field
This commit is contained in:
committed by
GitHub
parent
c7b45a3eb0
commit
106fe2dfb9
@@ -0,0 +1,28 @@
|
||||
created: 20241201235747500
|
||||
description: Exporting rendered html
|
||||
tags: $:/tags/wiki-test-spec
|
||||
title: TestCases/WikifyWidget/RenderHTML
|
||||
type: text/vnd.tiddlywiki-multiple
|
||||
|
||||
title: Narrative
|
||||
|
||||
You can use <<.wid wikify>> to copy your wikitext as a formated HTML.
|
||||
+
|
||||
title: Output
|
||||
|
||||
<$wikify name="code" text={{code}} output="html">
|
||||
|
||||
<$codeblock code=<<code>> />
|
||||
|
||||
<$macrocall $name="copy-to-clipboard" src=<<code>>/>
|
||||
|
||||
</$wikify>
|
||||
+
|
||||
title: code
|
||||
text:
|
||||
|
||||
!! A nice list
|
||||
|
||||
* Item 1
|
||||
* Item 2
|
||||
* Item 3
|
||||
Reference in New Issue
Block a user