On Thursday, March 5, 2020 at 11:53:51 PM UTC+1, TonyM wrote:
>> \startheading 5 >> > > This is a nice idea, how will it effect transclusions, Actually applying > this to subtiddlers transcluded at a different heading level could be > helpful, again can we programmatically apply pragma? > The main goal is consistency. The tv-adjust-heading-level <https://tiddlywiki.com/#tv-adjust-heading-level%20Variable:%5B%5Btv-adjust-heading-level%20Variable%5D%5D%20%5B%5Btv-adjust-heading-level%20Variable%20(Examples)%5D%5D%20%5B%5BSample%20Headings%201%2C2%2C3%5D%5D%20%5B%5BSample%20Headings%203%2C4%2C5%5D%5D%20%5B%5BSample%20Headings%204%2C5%2C6%5D%5D> is already part of TW. So a tiddler using the pragma may look like this: \startheading 5 ! heading If the tiddler is shown, it should create this html code. <h5>heading</h5> Even if the text uses h1-markup like: ! heading If transcluded, it should also display a heading 5. If transcluded with tv-adjust-heading-level set to eg: 1, it will be shown as <h6>, setting 2 will show <h6> too, since it h6 is the biggest number. If the variable is set to -2 it will be shown as <h3>. I think, that's consistent. -mario -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/9ce5e726-8fce-42c2-89d1-24bb0e020fc3%40googlegroups.com.

