mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-02 12:19:11 +00:00
Docs updates
This commit is contained in:
parent
1086c51019
commit
7a62a86baf
@ -1,5 +1,5 @@
|
||||
created: 20130824141800000
|
||||
modified: 20131212093542990
|
||||
modified: 20140211165927396
|
||||
tags: introduction
|
||||
title: Docs
|
||||
type: text/vnd.tiddlywiki
|
||||
@ -11,10 +11,6 @@ type: text/vnd.tiddlywiki
|
||||
\end
|
||||
This is the main documentation hub for TiddlyWiki. See also [[TiddlyWiki for Developers]].
|
||||
|
||||
! How to use ~TiddlyWiki5
|
||||
|
||||
<<bulletList "howto">>
|
||||
|
||||
! Concepts
|
||||
|
||||
<<bulletList "concepts">>
|
||||
@ -31,6 +27,10 @@ This is the main documentation hub for TiddlyWiki. See also [[TiddlyWiki for Dev
|
||||
|
||||
<<bulletList "command">>
|
||||
|
||||
! How to use ~TiddlyWiki5
|
||||
|
||||
<<bulletList "howto">>
|
||||
|
||||
! Tips
|
||||
|
||||
<<bulletList "tips">>
|
||||
|
14
editions/tw5.com/tiddlers/concepts/Macros.tid
Normal file
14
editions/tw5.com/tiddlers/concepts/Macros.tid
Normal file
@ -0,0 +1,14 @@
|
||||
created: 20140211171341271
|
||||
modified: 20140211171348738
|
||||
tags: concepts
|
||||
title: Macros
|
||||
type: text/vnd.tiddlywiki
|
||||
|
||||
Macros are snippets of text that can be inserted with a concise shortcut:
|
||||
|
||||
```
|
||||
<<myMacro>>
|
||||
```
|
||||
|
||||
You can write your own [[Macros in WikiText]] or for more flexibility you can write [[JavaScript Macros]].
|
||||
|
@ -1,9 +1,11 @@
|
||||
created: 20131205160746466
|
||||
modified: 20131205160758948
|
||||
modified: 20140211190841939
|
||||
tags: wikitext
|
||||
title: Macros in WikiText
|
||||
type: text/vnd.tiddlywiki
|
||||
|
||||
! Defining Macros
|
||||
|
||||
Macros are snippets of text that can be inserted with a concise shortcut. A macro is defined like this:
|
||||
|
||||
```
|
||||
@ -16,6 +18,10 @@ The first line of the definition specifies the macro name and any parameters. Pa
|
||||
|
||||
Macro definitions must be placed at the top of a tiddler. Macros are available to the tiddler that defines them, plus any tiddlers that it transcludes.
|
||||
|
||||
[[JavaScript Macros]] can also be used for more flexibility.
|
||||
|
||||
! Using Macros
|
||||
|
||||
Macros are used like this:
|
||||
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user