Difference between revisions of "Markdown link"
(Created page with "Pnut supports a specific style of [https://daringfireball.net/projects/markdown/syntax#link markdown link]. <pre> [text](example.link "Optional title") </pre>") |
m |
||
Line 1: | Line 1: | ||
− | Pnut supports | + | Pnut supports the style of markdown link specified on Daring Fireball (https://daringfireball.net/projects/markdown/syntax#link) with a couple nuances. |
+ | |||
+ | This would create a link around text, with the link's domain appended for transparency: | ||
<pre> | <pre> | ||
− | [text](example.link "Optional title") | + | [text](https://example.link/path/path "Optional title") |
+ | |||
+ | text [example.link] | ||
</pre> | </pre> | ||
+ | |||
+ | If your text is the same as the *domain* in the link, then the domain won't be appended. | ||
+ | |||
+ | <pre> | ||
+ | [example.link](https://example.link/path/path) | ||
+ | |||
+ | example.link | ||
+ | </pre> | ||
+ | |||
+ | == Links == | ||
+ | |||
+ | * https://pnut.io/docs/api/implementation/entities - API explanation |
Revision as of 08:28, 11 October 2018
Pnut supports the style of markdown link specified on Daring Fireball (https://daringfireball.net/projects/markdown/syntax#link) with a couple nuances.
This would create a link around text, with the link's domain appended for transparency:
[text](https://example.link/path/path "Optional title") text [example.link]
If your text is the same as the *domain* in the link, then the domain won't be appended.
[example.link](https://example.link/path/path) example.link
Links
- https://pnut.io/docs/api/implementation/entities - API explanation