Skip to content

Auto-convert links between spec MD files to be internal links #43

@swcurran

Description

@swcurran

In "normal" Markdown, when you create a link across different MD files, you reference the file and the internal link within the file, such as: [link to another spec file](other_spec.md#header-in-that-other-file). However, since spec-up merges the files together. Would it be possible to automatically convert the link in the generated spec to remove the file reference? E.g. convert the example above to [link to another spec file](#header-in-that-other-file).

I can see that there would be limits on that -- e.g. rules for when/when not to do the conversion for any given link. I would think a relative reference (no leading "/" on the file name, or perhaps no "/" at all in the file name segment).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions