From 8d3e4d4809bb009368c7c46222018bd8cd222f31 Mon Sep 17 00:00:00 2001 From: Llewellyn van der Merwe Date: Tue, 19 Mar 2024 23:39:37 +0200 Subject: [PATCH] Update the script tag in the readme. Add the new attributes to the readme. --- README.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e89429e..ce76086 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ GetBible loader is an intuitive and lightweight JavaScript solution for embeddin ```html - + ``` 2. **Markup Your Scripture References:** @@ -38,11 +38,20 @@ Data attributes allow you to customize the behavior and display of the scripture - `data-show-translation`: Set to `1` to display the translation name in the tooltip. - `data-show-abbreviation`: Set to `1` to display the abbreviation of the translation in the tooltip. - `data-show-language`: Set to `1` to display the language of the translation in the tooltip. +- `data-show-bible-link`: Set to `1` to display the link to the chapter on getBible. +- `data-bible-url`: Specify another website url path to use for the `bible-link`. This website must have the [Joomla Component](https://git.vdm.dev/getBible/joomla-component) installed. Here's how you might use these attributes: ```html -John 3:16,19 +John 3:16,19 ``` In the example above, the tooltip for this list item will show text from both the King James Version (KJV) and another version abbreviated as AOV. It will also display the translation name and language for each scripture reference.