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 |
||
| (2 intermediate revisions by the same user not shown) | |||
| 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://www.example.link/path/path "Optional title") |
| + | |||
| + | text [example.link] | ||
</pre> | </pre> | ||
| + | |||
| + | Note that "www" subdomains are ignored on the appended domain. | ||
| + | |||
| + | |||
| + | |||
| + | 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 | ||
Latest revision as of 07:35, 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://www.example.link/path/path "Optional title") text [example.link]
Note that "www" subdomains are ignored on the appended domain.
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