Hi Tobias.

четверг, 7 февраля 2013 г., 20:26:50 UTC+4 пользователь Tobias Beer написал:
>
> As you may have noted, my concern is styling / layouting...
>
> Ah, if that's the point, this indeed can be done via wikification in a 
couple of ways:

* for sliceName: sliceValue notation plainSlice formatter can be added, 
with the match: "^([\'\/]{0,2})~?([\.\w]+)\:\1[\t\x20]*([^\n]*)[\t\x20]*$" 
(first part of the slicesRE)
* for table notation, second part of slicesRE can be used, but I don't know 
how one can assure that it will be used instead of the table formatter
** a separate formatter can handle "tables" (table syntax) with some 
distinct class: from

|defListSlices|k
|n1|v1|
|n2|v2|

create the definition list you proposed (or whatever other html).

Unfortunately, I'm not familiar with "how to write formatters' handlers", 
and in fact would appreciate any guidance in this topic, so can't help much 
in here.

Best regards,
Yakov.

So, an alternative to extending the slices regex may rather be some magic 
> in the wikification process which wraps slice-names and slice-values a span 
> while giving each an appropriate css class name, e.g. .sliceName and 
> .sliceValue.
>
> Cheers, Tobias.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywikidev?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to