drafter icon indicating copy to clipboard operation
drafter copied to clipboard

Non-functional reference-style links

Open abtris opened this issue 11 years ago • 3 comments

@zdne opened apiaryio/snowcrash#55

Update: This is no longer the issue, however there is still a problem when the reference is defined in another description block. See https://github.com/apiaryio/snowcrash/issues/55#issuecomment-58488125


~~Following blueprint:~~

# API
This is [an example][id] reference-style link.

[id]: http://example.com "x"

~~renders as:~~

_version: 1.0
metadata:
name: API
description: "This is [an example][id] reference-style link.\n\n["
resourceGroups:

Refer to Markdown Link Syntax

abtris avatar Oct 30 '13 01:10 abtris

@pksunkara commented

Should probably be tied into the referencing improvement.

abtris avatar Sep 26 '14 12:09 abtris

@zdne commented

That is not related. This is strictly intra-markdown document linking issue.

abtris avatar Sep 26 '14 12:09 abtris

@zdne commented

Note the situation has been partially improved with apiaryio/snowcrash#213

Given:

# My API
This is [link1][id]

[id]: http://a.com

Another link would be here [link2][id2]


# Group A

This is another example [link3][id]

[id]: http://b.com
[id2]: http://c.com

link1 and link3 now renders just fine. However link2 still does not render (as it is defined in another description block)

abtris avatar Oct 09 '14 10:10 abtris