Typeset
Rendered markdown is the one thing a component library cannot style with components: what arrives is whatever the renderer emitted. Typeset takes that markup and gives it the library's rhythm through three variables — size, leading and flow — with every colour, radius and font resolved to a --newt-* token. Read the guide for what each one does.
Threads
A thread keeps a side conversation out of the channel it started in, and drops off the list once it goes quiet. Anyone who can read the parent channel can read the thread.
Starting one
Hover a message and choose Create Thread, or use the composer's thread button for one that is not attached to anything.
await channel.threads.create({
name: "release-notes",
type: ChannelType.PublicThread,
})| Type | Visible to | Archives after |
|---|---|---|
| Public | Everyone in the channel | 24 hours |
| Private | Invited members | 72 hours |