mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 10:07:19 +00:00
parent
ae13a0fee1
commit
59f233cd46
@ -3,7 +3,4 @@ tags: $:/tags/Exporter
|
|||||||
description: {{$:/language/Exporters/CsvFile}}
|
description: {{$:/language/Exporters/CsvFile}}
|
||||||
extension: .csv
|
extension: .csv
|
||||||
|
|
||||||
\define renderContent()
|
<$macrocall $name="csvtiddlers" filter=<<exportFilter>> format="quoted-comma-sep" $output="text/raw"/>
|
||||||
<$text text=<<csvtiddlers filter:"""$(exportFilter)$""" format:"quoted-comma-sep">>/>
|
|
||||||
\end
|
|
||||||
<<renderContent>>
|
|
||||||
|
@ -3,7 +3,4 @@ tags: $:/tags/Exporter
|
|||||||
description: {{$:/language/Exporters/JsonFile}}
|
description: {{$:/language/Exporters/JsonFile}}
|
||||||
extension: .json
|
extension: .json
|
||||||
|
|
||||||
\define renderContent()
|
<$macrocall $name="jsontiddlers" filter=<<exportFilter>> $output="text/raw"/>
|
||||||
<$text text=<<jsontiddlers filter:"""$(exportFilter)$""">>/>
|
|
||||||
\end
|
|
||||||
<<renderContent>>
|
|
||||||
|
@ -18,7 +18,7 @@ $baseFilename$$(extension)$
|
|||||||
<$list filter="[all[shadows+tiddlers]tag[$:/tags/Exporter]]">
|
<$list filter="[all[shadows+tiddlers]tag[$:/tags/Exporter]]">
|
||||||
<$set name="extension" value={{!!extension}}>
|
<$set name="extension" value={{!!extension}}>
|
||||||
<$button class="tc-btn-invisible">
|
<$button class="tc-btn-invisible">
|
||||||
<$action-sendmessage $message="tm-download-file" $param=<<currentTiddler>> exportFilter="""$exportFilter$""" filename=<<exportButtonFilename """$baseFilename$""">>/>
|
<$action-sendmessage $message="tm-download-file" $param=<<currentTiddler>> exportFilter=<<__exportFilter__>> filename=<<exportButtonFilename """$baseFilename$""">>/>
|
||||||
<$action-deletetiddler $tiddler=<<qualify "$:/state/popup/export">>/>
|
<$action-deletetiddler $tiddler=<<qualify "$:/state/popup/export">>/>
|
||||||
<$transclude field="description"/>
|
<$transclude field="description"/>
|
||||||
</$button>
|
</$button>
|
||||||
|
Loading…
Reference in New Issue
Block a user