Closed lacolaco closed 1 month ago
@josephperrott As far as I can see, that function is maintained by you. What do you think about fixing this problem?
Once we can make a consensus on my proposed idea, I can submit a pull request to fix it.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
In the current markdown processing, each heading in the text gets its own
id
from the text content, but it supports only English.https://github.com/angular/dev-infra/blob/main/docs/pipeline/guides/state.ts#L11-L30
Previously, in "aio", we can use
{@a header-id}
to tell the transformer the correct heading id.This functionality is necessary for non-English localization, because in a vast document, guides refer to each other with links, and these links must be maintained.
Request
Idea
It's enough that supports
{#heading-id}
syntax implemented by other tools.https://www.markdownguide.org/extended-syntax/#heading-ids https://github.com/markedjs/marked-custom-heading-id