Open Nahuelluca20 opened 1 year ago
I have the same problem
Hey, the problem can be solved with highlight.js. I put this line in the global.css file: @import "highlight.js/styles/monokai.css";
It doesn't solve the problem entirely but it's something.
this worked for me:
@import 'node_modules/@notion-render/client/dist/theme.css';
and add the class here:
<div className="notion-render" dangerouslySetInnerHTML={{ __html: html }}></div>
The styles still don't work. In the tutorial, it says: @import '@notion-render/client/index.css'; but this module can't be found. Does anyone have a solution for this?
Try with use a tailwindcss-typography and highlight.js
Hello i have a littler problem with de styles. I have this files:
But the styles like notion dont work