Community
Participate
Working Groups
Zoe Jong suggests that the table of contents ({toc}) should use larger font sizes for h1 than h2, larger fonts for h2 than h3, and so on.
Created attachment 204964 [details] screenshot showing Editor font size preferences for headings Heading sizes are already adjusted based on the heading level. See the attached screenshot, which shows the default settings. Heading font sizes are adjustable with a preference setting. Search for "WikiText" in preferences, and you'll find these settings.
resolving as worksforme, since the default behaviour is as requested
I just realized that the bug is for {toc}, not the headings themselves.
Can you elaborate on your use case? Is this while editing a *.textile file or similar, or while in the task editor?
This was in the task editor, editing a task with a very, very long description with many headings and (sub)+headings.
This is impressive - possibly the first time I've heard of {toc} being used in the task editor. Traditionally the indentation level is used to indicate "importance" or heading level. I've provided an example below. {toc} h1. Foo h2. Bar h3. Baz h2. More Bar h1. More Foo
Thanks for the suggestion Sam. Sizing fonts in the table of contents based on heading level is a special case: the convention is to indend table of contents items to indicate heading level. Marking as Won't Fix.