mirror of
https://github.com/CryptKeeperZK/ejs.git
synced 2026-01-08 15:13:50 -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
|
```shell
|
||||||
$ ejs -p [ -c ] ./template_file.ejs -o ./output.html
|
$ 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
|
### Data input
|
||||||
@@ -292,7 +294,6 @@ A data file:
|
|||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ ejs ./test/fixtures/user.ejs -f ./user_data.json
|
$ 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):
|
A command-line option (must be URI-encoded):
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ EJS Embedded JavaScript templates
|
|||||||
|
|
||||||
{Examples}:
|
{Examples}:
|
||||||
ejs -m $ ./test/fixtures/user.ejs -f ./user_data.json
|
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 -p [ -c ] ./template_file.ejs -o ./output.html
|
||||||
ejs -n -l _ ./some_template.ejs -f ./data_file.json
|
ejs -n -l _ ./some_template.ejs -f ./data_file.json
|
||||||
ejs -w ./template_with_whitspace.ejs -o ./output_file.html
|
ejs -w ./template_with_whitspace.ejs -o ./output_file.html
|
||||||
|
|||||||
Reference in New Issue
Block a user