Currently, I am attempting to recreate a basic blog using markdown with Next.js and Material-UI. However, it appears that something is stripping away the default styles from unordered lists.
The list items (HTML elements) have been set with list-style: none;
and lack padding. On the other hand, ordered lists display normally with their default styling intact.
This is how it is displayed in the example provided in the documentation:
https://i.sstatic.net/I9n2R.png
Despite following the same content and markdown handling code, this is what I end up with:
https://i.sstatic.net/JfNq1.png
The issue remains whether I use markdown content or directly include ul
, ol
, and li
elements in JSX.