Skip to content

Commit

Permalink
Remove extraneous spaces in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dpilafian committed Nov 10, 2023
1 parent 370ffbc commit 4127670
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
| `<a href={{webRoot}}>Home</a>` | `<a href=../..>Home</a>` | 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 |
| `<a href={{webRoot}}>Home</a>` | `<a href=../..>Home</a>` | 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._

Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,21 +92,21 @@
"cli-argv-util": "~1.2",
"fancy-log": "~2.0",
"glob": "~10.3",
"istextorbinary": "~6.0",
"istextorbinary": "~7.0",
"liquidjs": "~10.9",
"slash": "~5.1"
},
"devDependencies": {
"@fortawesome/fontawesome-free": "~6.4",
"@types/fancy-log": "~2.0",
"@types/glob": "~8.1",
"@types/node": "~20.8",
"@typescript-eslint/eslint-plugin": "~6.7",
"@typescript-eslint/parser": "~6.7",
"@types/node": "~20.9",
"@typescript-eslint/eslint-plugin": "~6.10",
"@typescript-eslint/parser": "~6.10",
"add-dist-header": "~1.3",
"assert-deep-strict-equal": "~1.1",
"copy-file-util": "~1.1",
"eslint": "~8.51",
"eslint": "~8.53",
"fetch-json": "~3.2",
"highlight.js": "~11.9",
"jshint": "~2.13",
Expand All @@ -115,6 +115,6 @@
"rimraf": "~5.0",
"run-scripts-util": "~1.2",
"typescript": "~5.2",
"w3c-html-validator": "~1.5"
"w3c-html-validator": "~1.6"
}
}
4 changes: 2 additions & 2 deletions spec/fixtures/source/subfolder-a/mock2.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4127670

Please sign in to comment.