> 1. Is it possible to precede wiki markup such as *, #, !, +++, with /%
> Hidden content %/, a macro (<<tiddler TiddlerName>>),
> <<forEachTiddler...>>, <script>...</script>, etc.?
Nope. Markup that must start at the beginning of a line must...
umm... start at the beginnning of a line. That is how those sequences
are distinguished from normal uses of *, #, !, etc.
> 2. Can this beginning-of-line wiki markup be embedded within table
> cells?
> The only way I have found thus far to put bullets (<ul>) in a table
> cell is with html. That just doesn't seem efficient.
Nope. TW table format is also a 'line mode' syntax. The initial "|"
must be the first character on each line of the table definition.
Thus, there is no direct way to put line mode formats *inside* a table
cell, since only one character can be the first on the line.
However, you can *indirectly* embed line-mode formatted content inside
a cell, by using "transclusion" to insert content from another
tiddler, like this:
|<<tiddler TiddlerName>>|
Of course, that is not very convenient, as you need to make a separate
tiddler with the content you want to transclude. Fortunately, you can
also embed a *hidden section* within the same tiddler, and then
transclude that content, like this:
|<<tiddler TiddlerName##sectionname>>|
/%
!sectionname
*line mode content
*like bullets
!end
%/
Note that the open/close comment markers are NOT on the same line as
the "!sectionname" syntax. Also note the use of "!end". This is a
'dummy' section heading, that delimits the section so that the close
comment marker will not be treated as content in that section when it
is transcluded. Note also that the hidden section can be embedded
almost anywhere within the tiddler, but *cannot* be 'interleaved' into
a block of table formatted content.
Thus, the following is NOT correct:
|<<tiddler SomeTiddler##section1>>|
/%
!section1
....
!end
%/
|<<tiddler SomeTiddler##section2>>|
/%
!section2
....
!end
%/
Instead, you would put the table format in one block, and then put the
hidden sections elsewhere in the tiddler, like this:
|<<tiddler SomeTiddler##section1>>|
|<<tiddler SomeTiddler##section2>>|
/%
!section1
....
!section2
....
!end
%/
Also, note that because several hidden sections are defined in a row,
you can omit the !end separators and extra comment markers (except the
final ones) and simply one large comment block where each section
heading automatically delimts the section that precedes it.
enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
----------
Was this answer useful? If so, please help support TiddlyTools:
TiddlyTools direct contributions: (paypal)
http://www.TiddlyTools.com/#Donate
UnaMesa tax-deductible contributions:
http://about.unamesa.org/Participate (paypal)
TiddlyWiki consulting:
http://www.TiddlyTools.com/#ELSDesignStudios
http://www.TiddlyTools.com/#Contact
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/tiddlywiki?hl=en.