Skip to content

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.

Preset
body font
heading font
Mono
Size 1em
Leading 1.75
Flow 1.25em
Measure
Open in a new tab
Preview

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,
})
TypeVisible toArchives after
PublicEveryone in the channel24 hours
PrivateInvited members72 hours