Skip to content

Struggling with urls when transforming from markdown #976

Description

@Amy-Lynn

I'm trying to use eleventy for generating documentation pages based on markdown content and I'm running into issues with the urls:

  • Relative urls to images: I have links like ![](./../images/my-image.jpg), which breaks when I switch to permalinks because the structure is different
  • Relative urls to markdown files: I have links like [my link](./my-link.md), which breaks when converted to HTML

I'd prefer to have the markdown still work (seems nicer from an editing perspective) - creating a bunch of links that aren't correct in the source code but will be correct later feels like a strange paradigm for me.

I feel like I must be missing something - how am I expected to be writing my pages? I've been doing a lot of searching but I'm not really finding anything on how to address this.

Thanks!

Metadata

Metadata

Assignees

No one assigned
    No fields configured for Education.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions