markdown-viewer
markdown-viewer copied to clipboard
The `Download as HTML` button doesn't keep CSS styles
So what I found interesting, is that the method described here:
https://github.com/KeithLRobertson/markdown-viewer/issues/35#issuecomment-389544845
Works perfectly, however the Download as HTML
button does not keep CSS and seems to have some weird formatting, here is an example file:
- Original Markdown file: schema.md
- How it's rendered in my browser: https://i.nuuls.com/BPDZX.png
- File output of
Download as HTML
button: https://hateful-brick.surge.sh/ - How the output is rendered in my browser: https://i.nuuls.com/SMbZy.png
- Using the method described in https://github.com/KeithLRobertson/markdown-viewer/issues/35#issuecomment-389544845 file output: https://nine-club.surge.sh/
- How it's rendered in my browser: https://i.nuuls.com/fOdkT.png
Ok that’s pretty weird, your downloaded output seems to have all the CSS tags, they’re just empty…