preview-vscode icon indicating copy to clipboard operation
preview-vscode copied to clipboard

[request] Render CSS files

Open protiumx opened this issue 5 years ago • 2 comments

Hey guys, is there any way to have a html/pug file with relative css? I have a pug file with this

link(rel="stylesheet", href="css/main.css", data-inline)

or

style.
  include main.css

but the CSS is not being rendered or imported. Thanks!

protiumx avatar May 13 '20 10:05 protiumx

Same issue here, my CSS do not display rendering the preview useless

AuracleTech avatar Jan 13 '22 23:01 AuracleTech

Yes, I downloaded this package specifically to do this. +1

jamiecarter7 avatar Jun 21 '22 22:06 jamiecarter7

Preview[2.3.2] is updated to use the Markdown API, external CSS supported.

  • HTML
<link rel="stylesheet" href="css/main.css"  data-inline>
  • PUG
link(rel="stylesheet", href="css/main.css", data-inline)
  • PUG
style.include main.css

searKing avatar Apr 07 '24 08:04 searKing