Skip to content

C++ Core Guidelines Markdown explicit anchor links not working (updated the 20/05/2024) #2198

Open
@Lob2018

Description

@Lob2018

Thanks again for your document C++ Core Guidelines.

Markdown links for C++ Core Guidelines Markdown don't work because anchor test must always be lowercase and not contain spaces, as describe in this article.

I used Sublime Text to find and replace by regular expression with these values, it looks correct but I haven't checked everything (updated the 20/05/2024):
Find: name="([^"]*)"
Replace: name="\L\1\E"
and
Find: ]\(#([^)]*)\)
Replace: ](#\L\1\E)

Attached the .diff, the modified and the old Markdown files :
CppCoreGuidelines - old.md
CppCoreGuidelines.diff.txt
CppCoreGuidelines.md

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions