Skip to content

Switch away from footnote-style linking #65

@jywarren

Description

@jywarren

As noted in this test in the PublicLab.Editor project:

https://github.com/publiclab/PublicLab.Editor/blob/0daf8cba9a2e6d251ba2704d38235f9eff74a4fe/spec/javascripts/wysiwyg_spec.js#L27-L34

Woofmark uses a "footnote" style of linking, where the URLs are placed in a numbered list at the bottom, like:

Hello [world][1]

1. https://world.com

This can cause issues when switching back and forth from HTML to Markdown, so we'd prefer the more basic style:

Hello [world](https://world.com)

We can now write a Jest test for it!

This may also be the case for image markdown URLs.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions