This is the custom CSS I use for Intellij's markdown preview tool.
https://www.jetbrains.com/help/idea/markdown.html#css
The font-family
s that are used must be installed on your system and available in Intellij. Change them as desired.
The background-color
is also something you'll want to change to match your theme.