1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-08-23 10:06:44 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/wikitext/HTML in WikiText.tid
Jermolene 1fddcf075f Big docs update
Finally sorting out the wikitext documentation
2013-12-05 16:21:10 +00:00

29 lines
737 B
Plaintext

created: 20131205160816081
creator: JeremyRuston
modified: 20131205160828313
modifier: JeremyRuston
tags: wikitext
title: HTML in WikiText
type: text/vnd.tiddlywiki
HTML tags and comments can be used directly in WikiText. For example:
```
<article class="hello">
This is my nice and simple block of text. HelloThere
<!-- This comment will not appear in the wikified output -->
</article>
```
Attributes in HTML tags can be specified as 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>
```
Here an attribute is specified as a macro invocation:
```
<a href=<<MyMacro "Brian">>>link</a>
```