Table of contents and PDF

Hello,

I created a note on Obsidian with a table of contents and when I exported to PDF the links for each title didn’t work.

How to adapt this?

I used the “TOC” plugin to use Table of Contents.