Skip to content

How do I get React Router to handle links to markdown files? #384

Closed
@hiddentao

Description

@hiddentao

I have a folder structure like:

pages/
  docs/
    index.md
    Middleware/
      index.md

In pages/docs/index.md I have a link to the middleware docs like: `Middleware.

When I run gatsby develop the pages get rendered correctly. But when I click the middleware link above the browser loads the Middleware HTML page afresh instead of doing an in-page navigation (i.e. using React Router).

What am I doing wrong?

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