Guidelines: Hyperlinks

From InvestmentWiki
Jump to navigation Jump to search

This topic aims to fix the issue of hyperlinks breaking. We noticed that the links break when you:

  • Make an edit.
  • When you add an header or sub-header 1.

The issue can be resolved by:

1. Using "Deep Links"

How to get section links: https://www.loom.com/share/6f45178750be45f3a9d710ce3b9d0ef7

Involves using the hash character (#). It involves copying the page's URL then inserting # and then the section's title. However, the section title should have underscore characters (_) replacing its spaces[1]. For example: 1&1:5G Infrastracture#Developments .

Pros:

  • The link doesn't break unless you change the title of the section

Cons:

  • The link doesn't direct you to a specific paragraph in the section i.e it gives you a link for the whole section.

References