Discourse Qingwa Timelines - Custom BBCode for Beautiful Timeline Layouts

You can now keep your timeline headings out of the TOC without workarounds:

use pseudo-headings inside [timelines] by prefixing with ##! (for H2 styling) or ###! (for H3 styling).

Example:

[timelines]

##! 2020 – Foundation
Content…
[/timelines]

These render like H2/H3 inside the timeline but are not treated as real headings, so autoTOC stays tidy regardless of where the timeline sits.

If you want a timeline’s headings to stay in the TOC, keep using normal ##/###.

Right now, if there’s even a single ##! (or ###!) inside [timelines], the TOC will skip the entire timeline.

Mixing both styles in the same timeline isn’t supported yet.

You can mix them now: ##/### still show up in the TOC, while ##!/###! render only inside the timeline and stay out of the TOC.

Please update the component and give it a try.

4 לייקים