Closed
Description
Problem
I'm generating a toc using mdast-util-toc
but, before this, I sanetize my content using rehype-sanitize
and hast-util-sanitize/lib/github
.
This GitHub preset do a set of things related to sanitizing the content; one of them is to prefix urls by default.
Based on this premise, If I sanitize my content and then I tried to generate the Table of Content, the links of the table are not properly linked since they are not prefixed.
Subject of the feature
Just adding the ability to prefix the urls to have the same link src than the content should be enough