Skip to content

Support Kramdown footnote definitions and links. #58

@rhdunn

Description

@rhdunn

The following are incorrectly syntax highlighted:

[^test]: This is a test.
[^ME]:   [Middle English](https://en.wikipedia.org/wiki/Middle_English). Wikipedia.

The footnote is correctly highlighted, but:

  1. only the first word of the text is highlighted (e.g. This in This is a test.);
  2. the links are not highlighted as links.

I think the:

[name]: url

style markup should not be applied if the name starts with a ^. This would then keep the definition in normal text colour and allow links and other markup to be correctly highlighted.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions