Open frank-mi-usa opened 6 years ago
MarkdownViewer uses HTML-Renderer to render HTML code but it lacks support for some css features (:nth-child
selector is probably one of them).
I have an experimental and a-little-buggy fork here:
https://github.com/monoblaine/MarkdownViewerPlusPlus/tree/0.8.1
I've ditched HTML-Renderer and used the new Microsoft Edge WebView component to render html. So it supports modern html and css features.
But,
@monoblaine , thanks!
Table Body Background Color Not Render
The markdown viewer doesn't render table background color, so I can't set even and odd rows with different background colors.
If I apply the Github Style Markdown CSS, the comparison result is shown below. The left one is the expected table which is the same markdown file exported as html. The right one is what is shown in the markdown viewer. Notice that even number rows has a different color:
To make it more clear, I use the following CSS, and then the comparison result is following. the Left is the same table exported as html, and the Right is what is shown in the markdown viewer:
Environment