Cimbali/markdown-viewer

The `Download as HTML` button doesn't keep CSS styles

brian6932 opened this issue · 1 comments

So what I found interesting, is that the method described here:
#35 (comment)
Works perfectly, however the Download as HTML button does not keep CSS and seems to have some weird formatting, here is an example file:

  1. Original Markdown file: schema.md
  2. How it's rendered in my browser: https://i.nuuls.com/BPDZX.png
  3. File output of Download as HTML button: https://hateful-brick.surge.sh/
  4. How the output is rendered in my browser: https://i.nuuls.com/SMbZy.png
  5. Using the method described in #35 (comment) file output: https://nine-club.surge.sh/
  6. 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…