Code preprocessor

Code preprocessor allows you to use certain dynamic content elements in your plain HTML. These elements are updated each time you save the file.

For example, you can insert date stamp that is automatically updated each time you save the file with HTMLPad.

Currently Supported Elements

Date stamp

Syntax:
<!--%DateStamp%--><!---->

Example:
<!--%DateStamp%-->2008.04.11.<!---->

Time stamp

Syntax:
<!--%TimeStamp%--><!---->

Example:
<!--%TimeStamp%-->2008.04.11.<!---->

File include

Syntax:
<!--%IncFile filepath%-->
<!---->

Example:
<!--%IncFile c:\my web\header.htm%-->
<!---->

Notes

  • To quickly insert date or time stamp, on the Insert menu, click Date Stamp or Time Stamp.
  • File includes can use relative paths, however these are not supported in FTP based files.