Skip to content

Docs: Markdown not turned into HTML in Dynamic Routes section of Tutorial #55633

@aidanrob12

Description

@aidanrob12

What is the improvement or update you wish to see?

The Next.js blog tutorial's example repo uses an older version of the remark library, version 14.0.2. However, running npm install remark remark=html will install 15.0.1, which fails to convert markdown into HTML.

With Remark ^15.0.1

image

With Remark ^14.0.2

image

On the "Render Markdown" page of the tutorial, npm install remark remark-html could be replaced with npm install remark@^14.02 remark-html to fix this

Is there any context that might help us understand?

Picture of relevant code snippet:
image

Does the docs page already exist? Please link to it.

https://nextjs.org/learn/basics/dynamic-routes/render-markdown

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocumentationRelated to Next.js' official documentation.locked

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions