From 7b82ef74dcf506c22e240c214969a2ac16b281dd Mon Sep 17 00:00:00 2001 From: Arnaud Ligny Date: Wed, 23 Jan 2019 18:31:41 +0100 Subject: [PATCH] Update README.md --- README.md | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index bdc94b4..b303474 100644 --- a/README.md +++ b/README.md @@ -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`.