mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-17 23:34:50 +00:00
aa8f7f77d6
* Allow boot code to remain as tiddlers * Sync up with tiddlywiki5.html * Add \whitespace trim * Add download-full-wiki button * Simplify ExportTiddlyWikiCore code No longer needs the if-boot-code-is-missing part of the code. * Replace space btw icon and button text with CSS
23 lines
715 B
Plaintext
23 lines
715 B
Plaintext
title: $:/core/ui/ExportTiddlyWikiCore
|
|
|
|
\define jsFileName() tiddlywikicore-$(version)$.js
|
|
\rules except wikilink
|
|
\whitespace trim
|
|
|
|
''For advanced users''
|
|
|
|
Export the TiddlyWiki core JavaScript code for running with external JavaScript:
|
|
|
|
<$button
|
|
tooltip="Export the TiddlyWiki core code for running with external JavaScript"
|
|
aria-label="export TiddlyWiki core"
|
|
class="tc-btn-big-green">
|
|
<$action-sendmessage $message='tm-download-file' $param='$:/core/templates/tiddlywiki5.js' filename=<<jsFileName>>/>
|
|
{{$:/core/images/download-button}}
|
|
<span class="tc-tiny-gap-left">
|
|
Download TiddlyWiki core
|
|
</span>
|
|
</$button>
|
|
|
|
[[Further information|https://tiddlywiki.com/#Using%20the%20external%20JavaScript%20template]]
|