Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

many links in markdown files do not load correctly #319

Open
mfvargo opened this issue Oct 15, 2021 · 2 comments
Open

many links in markdown files do not load correctly #319

mfvargo opened this issue Oct 15, 2021 · 2 comments

Comments

@mfvargo
Copy link
Contributor

mfvargo commented Oct 15, 2021

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

@evantahler
Copy link
Member

I think these are probably moved to the /tutorials folder.

@evantahler
Copy link
Member

@mfvargo are you able to try to re-link these?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants