diff --git a/README.md b/README.md index 6473f1f..0d0f24d 100644 --- a/README.md +++ b/README.md @@ -146,16 +146,16 @@ const msg2: string = 'This file is: my-app.ts'; ``` Example outputs and formatters: -| Source file text | Example output value | Note | -| ------------------------------ | ------------------------- | ---------------------------------------------- | -| `{{package.name}}` | `my-project` | Value from `name` field in **package.json** | -| `{{package.version}}` | `3.1.4` | Value from `version` field in **package.json** | -| `{{package.version | size}}` | `5` | Length of the version number string | -| `{{file.name}}` | `password-reset` | Source filename without the file extension | -| `{{file.path}}` | `web/password-reset.html` | Full path to source file | -| `Home` | `Home` | Link is relative to the source folder | -| `{{"now" | date: "%Y-%m-%d"}}` | `2023-09-28` | Build date timestamp | -| `{{myVariable | upcase}}` | `DARK MODE` | Custom variable set with: `{% assign myVariable = 'dark mode' %}` | +| Source file text | Example output value | Note | +| ------------------------------- | ------------------------- | ---------------------------------------------- | +| `{{package.name}}` | `my-project` | Value from `name` field in **package.json** | +| `{{package.version}}` | `3.1.4` | Value from `version` field in **package.json** | +| `{{package.version \| size}}` | `5` | Length of the version number string | +| `{{file.name}}` | `password-reset` | Source filename without the file extension | +| `{{file.path}}` | `web/password-reset.html` | Full path to source file | +| `Home` | `Home` | Link is relative to the source folder | +| `{{"now" \| date: "%Y-%m-%d"}}` | `2023-09-28` | Build date timestamp | +| `{{myVariable \| upcase}}` | `DARK MODE` | Custom variable set with: `{% assign myVariable = 'dark mode' %}` | _**Note:** Use the `--no-liquid` flag if characters in your source files are inadvertently being interpreted as templating commands and causing errors._ diff --git a/package.json b/package.json index a3bdfc9..da5cdd5 100644 --- a/package.json +++ b/package.json @@ -108,7 +108,7 @@ "copy-file-util": "~1.1", "eslint": "~8.51", "fetch-json": "~3.2", - "highlight.js": "~11.8", + "highlight.js": "~11.9", "jshint": "~2.13", "mocha": "~10.2", "pretty-print-json": "~2.0", diff --git a/spec/fixtures/target/mock1.html b/spec/fixtures/target/mock1.html index 7a0f4a3..cf826be 100644 --- a/spec/fixtures/target/mock1.html +++ b/spec/fixtures/target/mock1.html @@ -7,7 +7,7 @@ - +