Markdown supports two forms of link syntax: inline and two forms of reference .
Either way, the link text is marked with
[square brackets] .
To create a inline link, just follow the parentheses around the square brackets and insert the URL link.
If you also want to add the title text of the link, as long as the URL behind, use double quotation marks to wrap the title text, for example:
This was [an example] (http://example.com/"Title") inline link.
will produce
<p>this is <a href= "http://example.com/" title= "title" >an example</a> inline link.</p>
The reference link is followed by another square bracket after the parenthesis of the linked text, and the second square bracket is filled with a tag that identifies the link:
This was [an example][id] reference-style link.
then, at any point in the file, you can define the linked content of this tag:
[ID]: http://example.com/ "Optional Title Here"
and we open the production of hyperlinks, which are opened by default in this window, in order to have a better reading experience, we often want in a new window
Open hyperlinks and do not want to affect reading this article. Markdown should not support this syntax at the moment,
But it can be solved in other ways, such as jquery, in the appropriate place with the following code:
<script type= "Text/javascript" >$ (document). Ready (function () { //= Hyperlink plus target= ' _blank ' property $ (' a[href^= ') http "]"). each (function () {$ (this). attr (' target ', ' _blank ');}); </script>
Itmyhome
markdown hyperlink plus target= ' _blank '