Updated epigraph docs

- `link` parameter added (pr #11)
This commit is contained in:
slashformotion 2021-08-02 09:38:58 +02:00
parent 3d14a3cc3e
commit 835a8701f8

View file

@ -98,12 +98,12 @@ support all the features present in the
- `epigraph`
- **Description**: Create an epigraph with the wrapped text.
- **Usage**: To include a footer with source attribution, pass in the
optional named parameters `pre`, `cite`, `post`. These parameters
optional named parameters `pre`, `cite`, `post`, `link`. These parameters
make no styling assumptions, so spacing is important. A more compactly
styled epigraph will be used if the `type` parameter is set to `compact`.
- **Example**:
```html
{{< epigraph pre="Author Writer, " cite="Math is Fun" >}}
{{< epigraph pre="Author Writer, " cite="Math is Fun" link='https://www.google.com' >}}
This is an example of an epigraph with some math
$ \mathbb N \subseteq \mathbb R $
to start the beginning of a section.