AzureLiquid.Preview 1.3.0

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global AzureLiquid.Preview --version 1.3.0                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local AzureLiquid.Preview --version 1.3.0                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=AzureLiquid.Preview&version=1.3.0                
nuke :add-package AzureLiquid.Preview --version 1.3.0                

Azure Liquid Preview

Using the Live Preview console application, we can set a file watcher that automatically renders the output as any changes occur to the source data or Liquid template.

Install the tool using Nuget and register as a global dotnet tool.

dotnet tool install -g AzureLiquid.Preview

To update to a newer version, use:

dotnet tool update -g AzureLiquid.Preview

The process is started from the terminal using a set of arguments.

Argument Description
--help Shows help description within the console
--watch Switch parameter to enable file watcher and produce output on file update
--template Relative path to the .liquid template source file
--content Relative path to the XML or JSON data source file
--output Relative path to the output result file

For example:

liquidpreview --watch --content ./albums.xml --template ./albums.liquid --output ./albums.json

I have simply arranged the three files in VSCode and get preview on the right hand side whenever the template or XML source is changed.

I then use the terminal to start the watcher. The albums.json file is generated automatically and kept up to date whenever the source data or liquid template is changed.

VSCode preview

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
1.4.0 130 12/2/2024
1.3.0 84 12/2/2024
1.2.0 84 11/30/2024
1.1.4 1,526 11/11/2022
1.1.3 449 10/20/2022
1.1.2 459 10/20/2022
1.1.0 428 10/20/2022
1.0.0 421 10/20/2022