kjdev / hoextdown

Hoextdown is an extension to Hoedown
MIT License
23 stars 15 forks source link

If a list item ends with a link with special attributes, the special attributes are applied to the list item, not to the link #43

Closed douyo closed 7 years ago

douyo commented 7 years ago

If you have a list item that ends with a link that has a special attribute:

The markdown processor applies the special attribute to the list item, not to the link.

  • list item with link
  • There should be a clear way to indicate whether you want the special attribute applied to the link vs. the list item.

    kjdev commented 7 years ago

    Please use the external reference link if you want to explicitly give the link special attributes in the list

    - list item with [link]
    
    [link]: url "optional title" {target="_blank"}
    douyo commented 7 years ago

    Ah, OK, thanks! That does work.