HTML Heading IDs
Adding custom IDs allows you to link directly to headings, helping to create indexes and provide more organization in long threads. An example of this in action can be found here. To add a custom heading ID, create an HTML heading, and add the ID to the pair of carrots on the left.
The HTML looks like this:
<h3 id='heading--link-to-me-custom'>My Amazing Heading</h3>
Linking to Heading IDs
You can link to headings with custom IDs by creating a standard link with a pound sign ( #
) followed by the custom heading ID. Note that the custom part of the ID is the word custom in #headingālink-to-me-custom. The rest of the tag should remain the same.
Markdown | HTML | Result |
---|---|---|
[Heading IDs](#heading--link-to-me-custom) |
<a href="#heading--link-to-me-custom">Heading IDs</a> |
Heading IDs |
Outside websites can also link to the heading by adding the custom heading ID to the full URL of the website address. This is especially helpful when directing someone to a specific part of your topic.
You may also simply right-click the heading and click āCopy Linkā.
Example:
[Runway Taxi-Holding Position (RTHP)](https://community.infiniteflight.com/t/taxiway-surface-markings-tutorial/448934#heading--link-to-me-rthp)
Result:
Runway Taxi-Holding Position (RTHP)
Images
This works both ways with images too! To make an image a link, simply include your image inside of the standard link brackets. To make your image a heading, as shown in my Taxiway Surface Markings Tutorial, all you have to do is include your image inside of the HTML heading brackets:
<h3 id='heading--link-to-me-custom'>image</h3>
Linking to Words Instead of Headings
To link to words instead of headings use this:
<a name="custom">My Amazing Words</a>
Standard Link
[Standard Link](webpage address)