mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-08-26 03:26:45 +00:00
![Myeongjin](/assets/img/avatar_default.png)
* Add string '.htm' to 'Saving with TiddlyIE' * Change external links to match locale with wiki language * Add instructions for use to 'Saving on Android' * Change string in 'task' * Change instructions for use in 'Saving on iPad/iPhone' * Add newline to 'TiddlyDesktop Releases' * Remove caption from 'Serving TW5 from Android' * Change link to external in tiddlers which tagged 'Editions' * Remove string 'index.html' from 'Some of the things you can do with TiddlyWiki' * Change link 'TiddlyWiki Groups' to 'Forums' in tiddlers which tagged 'Community' * Remove CamelCase link 'TiddlyWiki' from tiddlers tagged 'Community' * Change string 'done' to 'Upgrade' in 'UpgradeMechanism' * Change buttons to images in 'How to export tiddlers' * Add images about buttons to tiddlers * Add quotation mark to text 'edit' in 'Signing the Contributor License Agreement' * Rename 'UsingSVG' to 'Using SVG' * Change link 'TypedBlockWikiText' to 'Typed Blocks in WikiText' in 'Using SVG' * Add tiddler 'Using Stamp' * Add 'rel="noopener noreferrer"' to external links * Add description about 'rel="noreferrer"' to 'HTML in WikiText' * Add link of prerelease version about translators edition, and how to translate on Node.js, in 'Translate TiddlyWiki into your language' * Change string 'dropdown' to 'tab' in 'Installing a plugin from the plugin library' * Add download button to 'Empty Edition'
56 lines
1.8 KiB
Plaintext
56 lines
1.8 KiB
Plaintext
created: 20140908131500000
|
|
modified: 20140919214820549
|
|
tags: [[Working with TiddlyWiki]]
|
|
title: Formatting text in TiddlyWiki
|
|
type: text/vnd.tiddlywiki
|
|
|
|
Within the text of a tiddler you can use special formatting called WikiText to control how the text is displayed.
|
|
|
|
! Simple Formatting
|
|
|
|
At its simplest, WikiText lets you use familiar word-processing features like bold, italic, lists and tables. For example:
|
|
|
|
```
|
|
The ''quick'' brown ~~flea~~ fox //jumps// over the `lazy` dog
|
|
```
|
|
|
|
… displays as:
|
|
|
|
The ''quick'' brown ~~flea~~ fox //jumps// over the `lazy` dog
|
|
|
|
! Working with Tiddlers
|
|
|
|
In WikiText, you can link to tiddlers using double square brackets, or by taking advantage of the automatic linking of CamelCase words:
|
|
|
|
```
|
|
This is a link to HelloThere, and one to [[History of TiddlyWiki]]
|
|
```
|
|
|
|
… displays as:
|
|
|
|
This is a link to HelloThere, and one to [[History of TiddlyWiki]]
|
|
|
|
! Macros
|
|
|
|
Macros let you package repetitive fragments of WikiText so that you can easily reuse them.
|
|
|
|
For example, here is the definition of a macro that generates a ~YouTube video URL from its unique identifier:
|
|
|
|
```
|
|
\define youtube(video)
|
|
https://www.youtube.com/watch?v=$video$
|
|
\end
|
|
```
|
|
|
|
With that definition in place, `<<youtube 1g66s7UbyuU>>` generates the URL https://www.youtube.com/watch?v=1g66s7UbyuU
|
|
|
|
! Advanced WikiText
|
|
|
|
Advanced WikiText features allow you to produce automated lists and interactive features like dropdown menus. In fact, the entire user interface of TiddlyWiki itself is written in WikiText, so any feature that you see in TiddlyWiki can be adapted for use in your own wikis.
|
|
|
|
Some of the advanced features require complex coding. TiddlyWiki includes several built-in macros that simplify common user interface tasks, like tabs, tables of content, and lists of tiddlers.
|
|
|
|
! Find out more
|
|
|
|
See [[WikiText]] for a detailed introduction to writing WikiText.
|