rehype-pretty / rehype-pretty-code

Beautiful code blocks for Markdown or MDX.
https://rehype-pretty.pages.dev
MIT License
1.01k stars 63 forks source link

Highlight Lines doesn't work #152

Closed chaveamin closed 8 months ago

chaveamin commented 8 months ago

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

atomiks commented 8 months ago

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

atomiks commented 8 months ago

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