mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-05-01 05:56:43 +00:00
Update document in tiddlywiki.com edition
* 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'
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
caption: HTML
|
||||
created: 20131205160816081
|
||||
modified: 20141018181414011
|
||||
modified: 20160622112259272
|
||||
tags: WikiText
|
||||
title: HTML in WikiText
|
||||
type: text/vnd.tiddlywiki
|
||||
caption: HTML
|
||||
|
||||
HTML tags and comments can be used directly in WikiText. For example:
|
||||
|
||||
@@ -23,13 +23,15 @@ The content of an HTML element will be parsed in inline mode unless the opening
|
||||
Attributes in HTML tags can be specified as a literal, a transclusion or a macro invocation. For example, here the value of the `href` attribute will be set to the value of the tiddler MyLinkDestination:
|
||||
|
||||
```
|
||||
<a href={{MyLinkDestination}}>link</a>
|
||||
<a href={{MyLinkDestination}} rel="noreferrer">link</a>
|
||||
```
|
||||
|
||||
Note that the link should be set a value of the `rel` attribute is had `noreferrer` to maintain the secrecy of URLs of private TiddlyWiki's (eg on Dropbox).
|
||||
|
||||
Here an attribute is specified as a macro invocation:
|
||||
|
||||
```
|
||||
<a href=<<MyMacro "Brian">>>link</a>
|
||||
<a href=<<MyMacro "Brian">> rel="noreferrer">link</a>
|
||||
```
|
||||
|
||||
Literal attribute values can include line breaks. For example:
|
||||
|
||||
Reference in New Issue
Block a user