1
0
mirror of synced 2025-12-22 11:26:57 -05:00
Files
docs/content/github/writing-on-github/working-with-advanced-formatting/autolinked-references-and-urls.md
Laura Coursen 8f964ea2cb GHEC version (#20947)
Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>
Co-authored-by: Grace Park <gracepark@github.com>
Co-authored-by: Steve Guntrip <12534592+stevecat@users.noreply.github.com>
Co-authored-by: Robert Sese <sese@github.com>
Co-authored-by: Peter Bengtsson <peterbe@github.com>
Co-authored-by: Rachael Sewell <rachmari@github.com>
2021-10-15 15:41:33 -05:00

3.2 KiB

title, intro, redirect_from, versions, shortTitle
title intro redirect_from versions shortTitle
Autolinked references and URLs References to URLs, issues, pull requests, and commits are automatically shortened and converted into links.
/articles/autolinked-references-and-urls
/github/writing-on-github/autolinked-references-and-urls
fpt ghes ghae ghec
* * * *
Auto linked references

URLs

{% data variables.product.product_name %} automatically creates links from standard URLs.

Visit https://github.com

Rendered autolinked URL

For more information on creating links, see "Basic writing and formatting syntax."

Issues and pull requests

Within conversations on {% data variables.product.product_name %}, references to issues and pull requests are automatically converted to shortened links.

{% note %}

Note: Autolinked references are not created in wikis or files in a repository.

{% endnote %}

Reference type Raw reference Short link
Issue or pull request URL https://github.com/jlord/sheetsee.js/issues/26 #26
# and issue or pull request number #26 #26
GH- and issue or pull request number GH-26 GH-26
Username/Repository# and issue or pull request number jlord/sheetsee.js#26 jlord/sheetsee.js#26
Organization_name/Repository# and issue or pull request number github/linguist#4039 github/linguist#4039

{% ifversion fpt or ghec %} If you reference an issue, pull request, or discussion in a list, the reference will unfurl to show the title and state instead. For more information about task lists, see "About task lists." {% endif %}

Commit SHAs

References to a commit's SHA hash are automatically converted into shortened links to the commit on {% data variables.product.product_name %}.

Reference type Raw reference Short link
Commit URL https://github.com/jlord/sheetsee.js/commit/a5c3785ed8d6a35868bc169f07e40e889087fd2e a5c3785
SHA a5c3785ed8d6a35868bc169f07e40e889087fd2e a5c3785
User@SHA jlord@a5c3785ed8d6a35868bc169f07e40e889087fd2e jlord@a5c3785
Username/Repository@SHA jlord/sheetsee.js@a5c3785ed8d6a35868bc169f07e40e889087fd2e jlord/sheetsee.js@a5c3785

{% data reusables.repositories.autolink-references %}

Further reading