drafter
drafter copied to clipboard
Non-functional reference-style links
@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
@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)