Answer» There are 4 ways of creating a link in markdown: Inline Link:
- Inline Links are used to link users to another page, displayed in the form of blue hyperlinked words.
- For example: Here the Link1 link points to our practice page of InterviewBit.
[Link1] (https://www.interviewbit.com/practice/)Output: Link1 Reference Link:
- Reference Links are used to link one information object to another, by providing some references to that new page.
- The main difference between Inline and Reference Links is that in Inline links, the links appear directly at the point where they are placed, whereas in reference links, they used to cite references to other webpages from the current page.
- For example:
[Link1][reference text] [reference text]: https://www.interviewbit.com/practice/Output: Link1 Relative Link:- Relative Links are links that show the relationship between the current page’s URL and the linked page’s URL.
[A relative Link](rl.md)Output: A relative link Auto Link:
- Many popular markdown processors directly turn URLs pasted into the editor into links. Such links are called auto links.
- For example:
Visit https://www.interviewbit.com/practice/Output: Visit https://www.interviewbit.com/practice/
|