Skip to content

Code highlighting is not working #16

@jaydeepw

Description

@jaydeepw

Describe the bug
A clear and concise description of what the bug is.
When I install the dependencies successuflly and run npm run dev,
the web app pops up in the browser successfully.

But when I goto http://localhost:3001/posts/markdown-reference
I dont see correct highlighting of the code that is present in the mardown.

Check images attached

To Reproduce
Steps to reproduce the behavior:

  1. Run npm run dev
  2. Go to /posts/markdown-reference
  3. Scroll down to the header named JSX or HTML
  4. The code sample is not highlighted

Expected behavior
In step no. 4 above, the code sample should be highlighted.

Screenshots
Screenshot 2024-11-14 at 11 12 36 AM

Desktop (please complete the following information):

  • OS: Mac OS Sonoma 14.1
  • Browser Brave v1.73.89, Chrome latest

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions