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

the with-fumadocs example didn't render the Markdown format correctly #15

Open
Windsooon opened this issue Nov 18, 2024 · 3 comments
Open

Comments

@Windsooon
Copy link

I tried the lastest with-fumadocs example, but it didn't render the Markdown content. However, when I rollback to a previous commit. It works perfectly. I guess it's related to fumadocs version upgrade.

@pomber
Copy link
Contributor

pomber commented Nov 18, 2024

it didn't render the Markdown content

what do you mean?

@Windsooon
Copy link
Author

Here are the steps I follow:

  1. I cloned the repo
  2. Inside the /examples/with-fumadocs and run npm install to install packages
  3. I run npm run dev

For the scrollycoding.mdx example, I updated the file with markdown syntax like this

## Hello

> Here is a quote

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer lectus elit, tincidunt consectetur auctor ac, dignissim eget dolor. Integer magna ante, dictum ut posuere sed, faucibus quis risus.
...

However, the webpage didn't render the expected format (Level two title and quote), it just display plain text:

Hello
Here is a quote
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer lectus elit, tincidunt consectetur auctor ac, dignissim eget dolor. Integer magna ante, dictum ut posuere sed, faucibus quis risus.
...
snapshot

I solved this problem by rollback to a previous commit.

@pomber
Copy link
Contributor

pomber commented Nov 21, 2024

So the markdown is rendered but without styling. That's probably because of Tailwind, the prose class missing somewhere on that page.

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