Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Pug to HTMLNew to Visual Studio Code? Get it now.
Pug to HTML

Pug to HTML

Preview

ginie

|
45,471 installs
| (7) | Free
Displays the html output of a pug file
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

pug2html

Pug to html runs the currently opened file through the pug Plugin and displays the output html.

preview

Extension Settings

  • pug2html.compileOptions: the options that are passed to pug for compilation
  • pug2html.compileOptionsPath: a path to a json or js file that exports the compile options

If the file at compileOptionsPath exports a function, than that function is called in order to get the compile options. In this case the file name is passed as an argument to the function.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft