Created attachment 124043 [details] actual & expected SUMMARY For markdown file and this content: | Mandatory | Header's key | Header's value | Description | |-----------|--------------|------------------|----------------------------------------------------------------------------------------| | yes | Content-Type | application/json | Set the content type of the request body | | yes | Authorization| Basic Authent: <br> {api_key} {api_secret} | Set the api_key and api_secret used to identify api consumer | The table is not so pretty as markdown with github (border missing). STEPS TO REPRODUCE 1. with md file with table 2. open with okular 3. compare with github OBSERVED RESULT see screenshot actual EXPECTED RESULT see screenshot expected
The problem here is that after the markdown is converted to HTML no CSS is applied to it. Also, the support for CSS in the QTextDocument is limited, so, there is no much that can be done with it. Does anybody know if inside the KDE Framework there is something that could help with this? I was thinking about using QWebEnginePage but I don't know how to generate pixmaps for the pages.