Search code examples
markdownjekyllkramdown

Jekyll kramdown does not support reference links


I try using kramdown reference links in Jekyll. Reference links do not work (Jekyll does not produce tags). Inline links work as expected.

I simply copied the example from the kramdown syntax reference into my Kramdown document.

This is a [reference style link][linkid] to a page. And [this]
[linkid] is also a link. As is [this][] and [THIS].

Please could one reproduce this issue or confirm, that it's working.


Solution

  • You need to define the reference though.. For example:

    This is a [reference style link][linkid] to a page. And [this]
    [linkid] is also a link.
    
    
    [linkid]: http://www.example.com/