1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-09 11:29:58 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/wikitext/Styles and Classes in WikiText.tid
2013-12-11 07:57:12 +00:00

30 lines
573 B
Plaintext

created: 20131205160532119
modified: 20131205160549129
tags: wikitext
title: Styles and Classes in WikiText
type: text/vnd.tiddlywiki
You can use this construction to cause the wrapped content to be assigned specified CSS classes or styles:
<<wikitext-example src:"@@.myStyle
* List One
* List Two
@@
">>
Similar syntax is used to assign styles. For example:
<<wikitext-example src:"@@background-color:red;
* List One
* List Two
@@
">>
Multiple styles and classes can be mixed. For example:
<<wikitext-example src:"@@.tw-tiddler-frame
@@width:400px;
Some text
@@
">>