#7793·PeerTube

Chapter markers show raw markdown in tooltip

Author: romlokCreated Sep 20, 2026Updated Sep 21, 2026
LabelsType: Discussion :thought_balloon:Component: Player :play_or_pause_button:Component: Chapters

Describe the current behavior

When chapters are defined in the video description, and contain markdown formatting (eg. links), that raw markdown is used to create the chapter markers:

Image Eg. https://spectra.video/w/nkgAAbgZrmGzmM6N7TLrHF

Steps to reproduce

  1. Upload a video
  2. Define chapters in the video description using markdown, eg. 00:01 *Foo* [bar](https://example.com)
  3. Publish video
  4. Hover a marker in the timeline

Describe the expected behavior

I expected just a link title to be shown, eg. [Foo](https://foo.example) to render in the tooltip as Foo.

I'd say in general, the markdown formatting should be either stripped to just show the text without formatting, or interpreted to format the text also in the tooltip. I don't know which approach would be most appropriate in this context, but for my use-case I'd be okay with either.

Additional information