From 238c75de5493af01a2c991dcec879446cce02230 Mon Sep 17 00:00:00 2001 From: Levi Cole Date: Wed, 14 Oct 2020 10:25:09 +0100 Subject: [PATCH] Readme update --- .idea/vcs.xml | 6 ++++++ README.md | 12 ++++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 .idea/vcs.xml diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/README.md b/README.md index f8e7510..3748b23 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,14 @@ There are 4 returnable values for this field which include: | Selected font variants | Returns an array of selected font variants (if enabled) | `['regular', 'italic', '400']` | | Selected font subsets | Returns an array of selected font subsets (if enabled) | `['latin', 'latin-ext', 'greek']` | | CSS import url | A full url for the selected family, variants and subsets for including in CSS. | `https://fonts.googleapis.com/css?family=Mulish:300,500,200italic,300italic&display=swap` | -| All (Array) | An array including all of the above. | `['family' => 'Open Sans', 'variants' => ['regular', 'italic', '400'], 'subsets' => ['latin', 'latin-ext', 'greek']]` | - +| All (Array) | An array including all of the above. | ***see below** | + +```php +[ + 'family' => 'Open Sans', + 'variants' => ['regular', 'italic', '400'], + 'subsets' => ['latin', 'latin-ext', 'greek'], + 'import' => 'https://fonts.googleapis.com/css?family=Open+Sans:300,500,200italic,300italic&display=swap' +] +```