Skip to content

Prefix inline anchor ids with `user-content-`

What does this MR do?

Prefix inline anchor ids with user-content- to avoid conflicts and update the sanitization filter to allow prefixed ids.

The cross reference (i.e. a link to another location within the current AsciiDoc document) with the text "use cross references" will now correctly navigate to the corresponding location.

Learn how to xref:cross-references[use cross references].

//  some text...

[[cross-references]]A link to another location within an AsciiDoc document or between AsciiDoc documents is called a cross reference (also referred to as an xref).

resolves #196071

Videos

xref

Does this MR meet the acceptance criteria?

Conformity

Edited by Mayra Cabrera

Merge request reports

Loading