Use Links in Typora/Markdown

by typora.io

Basic Syntax

For link towards a website, we suggest you DO NOT ommit URL protocols like https:// or http://, or it may be interrucpt as relative link by Typora or other Markdown egines, or after export/publish.

You could use write relative or absolute path as link address towards a local file, the extension like (.md) can be omitted, for example:

[Readme1](Readme1.md)

[Readme2](../Docs/Readme2.markdown)

[Readme3](Readme3)

[Readme4](/User/root/Docs/Readme1.md)

[Readme4](file:///User/root/Docs/Readme1.md)

Please note that, for relative link address, it will not be converted into real absolute file path when export as HTML based on Markdown’s spec.

You can use # to create links towards any headings in your markdown file, for example:

# This is a title

...
...
...


A [link](#this-is-a-title) to jump towards target header

You can use command+click (macOS), or ctrl+click (Linux/Windows) on links in Typora to jump to target headings, or open them in Typora, or open in related apps.

FAQ

If you want to make a link to local file abd.com, please make ensure the path is correct.

If you want to create a link towards website “abc.com”, you need to put the URL scheme or protocol, for example use [link](http://abc.com).

Sometimes, protocol can be omitted if you use autolink (<www.google.com>) or auto URL (www.google.com), but this rules variables across different Markdown editors/engines, so we will recommand you NOT ommit protocols in any case for less compatibility issue.