Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 5 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,14 @@
# abe-replace-variable

Edit:

Edit references: `abe-variable-references.json`

add a reference:
## Usage

Add a reference in `abe-variable-references.json` file:
```json
{
"$$firstname": "john doe"
"$$firstname": "john doe"
}
```

Example:

into input type text write `hello $$firstname`

# Publish
Into input type text write `hello $$firstname`.

when the post is published `hello $$firstname` will be replaced by `john doe`
When the post is published `hello $$firstname` will be replaced by `john doe`.