Skip to content

many links in markdown files do not load correctly #319

@mfvargo

Description

@mfvargo

I've run into a few of these. Seems like maybe there was a refactor but the links in the markdown did not get updated correctly.

see line 210 of tutorials/middleware.md the link should be:

More detail and nuance on chat middleware can be found in the [chat tutorial](chat)

The links should just be the basename of the markdown file so that the code in [name].tsx will load the
markdown on line 26

    const markdown = await require(`./../../tutorials/${name}.md`);

I could find many of these instances but searching for the regex in dev studio of [](..html) in the tutorials directory.

regex for bad links

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