Difference between revisions of "Markdown link"
m |
m |
||
Line 15: | Line 15: | ||
− | If your text is the same as the | + | If your text is the same as the domain in the link, then the domain won't be appended. |
<pre> | <pre> |
Latest revision as of 08: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