rehype-pretty / rehype-pretty-code

Beautiful code blocks for Markdown or MDX.

Home Page:https://rehype-pretty.pages.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Highlight Lines doesn't work

chaveamin opened this issue · comments

commented

I'm using Nextjs 14 and MDX for blog posts. used {1-3,4} to highlight some lines. It does add the attributes but doesn't add the css for colors
Screenshot 2024-01-07 105551
Screenshot 2024-01-07 111551

There is no CSS as it's an unstyled library that provides logic, you add it yourself.

Added some docs, hopefully it's clearer: docs: add ToC and Styles sections