Chapter 2
External links
Incoming Hypertext links from external sources (blog posts, social media, emails, websites, etc.) to...
- ...your gitbook landing page, article, heading, or anchor point.
OR
Outgoing Hypertext links from your gitbook to external sources.
Examples:
You create a Facebook post with a hyperlink to your new gitbook.
Depending on where you link to in your book, your link will take one of the following formats:
Link to your gitbook landing page
Syntax:
[gitbook landing page](https://www.gitbook.com/book/seadude/linking/details)
Format:
https://www.gitbook.com/book/<username>/<book-name>/details
Link to your gitbook root README.md file (and gitbook)
Syntax:
[README.md file](https://seadude.gitbooks.io/linking/content)
Format:
https://<username>.gitbooks.io/<bookname>/content/
Link to your gitbook root README.md file (and gitbook)
Syntax:
[README.md file](https://seadude.gitbooks.io/linking/content/index.html)
Format:
https://<username>.gitbooks.io/<bookname>/content/index.html
Link to a header in your gitbooks root README.md file
Syntax:
[README.md file](https://seadude.gitbooks.io/linking/content/index.html#test)
Format:
https://<username>.gitbooks.io/<bookname>/content/index.html#<header-name>
Link to specific article in your gitbook
Syntax:
[your gitbook](https://seadude.gitbooks.io/linking/content/chapter1/internal.html)
Format:
https://<username>.gitbooks.io/<bookname>/content/<chapter>/<article>.html
Link to specific heading in an article
Syntax:
[specific heading](https://seadude.gitbooks.io/linking/content/chapter1/internal.html#important)
*Format:
https://<username>.gitbooks.io/<bookname>/content/<article>.html#<header-name>
There is a random anchor tag above this line.
Syntax:
{# #random-tag}
PREVIOUSLY TRIED THIS SYNTAX: DIDN"T WORK
<a name="random-tag"></a>