mirror of
https://github.com/CryptKeeperZK/ejs.git
synced 2026-01-07 22:53:52 -05:00
But put them in the right place
This commit is contained in:
@@ -275,6 +275,8 @@ Here are some examples of usage:
|
||||
|
||||
```shell
|
||||
$ ejs -p [ -c ] ./template_file.ejs -o ./output.html
|
||||
$ ejs ./test/fixtures/user.ejs name=Lerxst
|
||||
$ ejs -n -l _ ./some_template.ejs -f ./data_file.json
|
||||
```
|
||||
|
||||
### Data input
|
||||
@@ -292,7 +294,6 @@ A data file:
|
||||
|
||||
```shell
|
||||
$ ejs ./test/fixtures/user.ejs -f ./user_data.json
|
||||
$ ejs -p [ -c ] ./template_file.ejs -o ./output.html
|
||||
```
|
||||
|
||||
A command-line option (must be URI-encoded):
|
||||
|
||||
@@ -18,7 +18,7 @@ EJS Embedded JavaScript templates
|
||||
|
||||
{Examples}:
|
||||
ejs -m $ ./test/fixtures/user.ejs -f ./user_data.json
|
||||
ejs -m $ ./test/fixtures/user.ejs name=Juan
|
||||
ejs -m $ ./test/fixtures/user.ejs name=Lerxst
|
||||
ejs -p [ -c ] ./template_file.ejs -o ./output.html
|
||||
ejs -n -l _ ./some_template.ejs -f ./data_file.json
|
||||
ejs -w ./template_with_whitspace.ejs -o ./output_file.html
|
||||
|
||||
Reference in New Issue
Block a user