Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>HtmlBuildNew to Visual Studio Code? Get it now.
HtmlBuild

HtmlBuild

Mleziva

|
1,692 installs
| (0) | Free
Compiles HTML files using templates and json settings
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VSCode - HTMLBuild README

This VS Code extension replaces placeholders in HTML files with values in a json file. Use it to manage and generate HTML files for different environments. Based on the azure-ad-b2c vscode extensions available here: https://github.com/azure-ad-b2c/vscode-extension

Get Started


To get started, open the folder which contains your html files.

Run the HtmlBuild command of the extension for the first time to generate the sample appsettings.json file.

HTMLBuild Command

Review the created file

AppSettings.json

Update your html file to contain some settings to replace HTML file with settings

Run the BuildHtml command to generate the output files HTMLBuild Command

Review the output files HTMLBuild Command


Notes

The logic for the replace works on a case-insensitive match to {Settings:[settingname]}, so if you have content in your html file that happens to match that, it will be erroneously replaced.

Known Issues

None

Release Notes

Very first release ever

0.0.1

Initial release


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