Phillippe,

After much fiddling. . . here is the stylesheet you want:
div.tc-tiddler-body is the css selector for the tiddler content display area
div.tc-tiddler-preview-preview is the css selector for the preview pane 
when editing a tiddler

div.tc-tiddler-body, div.tc-tiddler-preview-preview {counter-reset: 
h1counter;}
div.tc-tiddler-body, div.tc-tiddler-preview-preview h1 {
        counter-increment: h1counter;
        counter-reset: h2counter;
}
div.tc-tiddler-body, div.tc-tiddler-preview-preview h1:before {
        content: counter(h1counter) ".\0000a0\0000a0";
}
div.tc-tiddler-body, div.tc-tiddler-preview-preview h2 {
        counter-increment: h2counter;
        counter-reset: h3counter;
}
div.tc-tiddler-body, div.tc-tiddler-preview-preview h2:before {
        content: counter(h1counter)"."counter(h2counter) ".\0000a0\0000a0";
}
div.tc-tiddler-body, div.tc-tiddler-preview-preview h3:before {
        content: counter(h1counter)"."counter(h2counter) "." 
counter(h3counter) ".\0000a0\0000a0";
        counter-increment: h3counter;
}

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/de94b6da-e288-4baa-abc5-1f93cdf6e969%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to