mirror of
https://github.com/loikein/hugo-tufte.git
synced 2024-11-16 21:36:56 +01:00
parent
3d14a3cc3e
commit
835a8701f8
1 changed files with 2 additions and 2 deletions
|
@ -98,12 +98,12 @@ support all the features present in the
|
||||||
- `epigraph`
|
- `epigraph`
|
||||||
- **Description**: Create an epigraph with the wrapped text.
|
- **Description**: Create an epigraph with the wrapped text.
|
||||||
- **Usage**: To include a footer with source attribution, pass in the
|
- **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
|
make no styling assumptions, so spacing is important. A more compactly
|
||||||
styled epigraph will be used if the `type` parameter is set to `compact`.
|
styled epigraph will be used if the `type` parameter is set to `compact`.
|
||||||
- **Example**:
|
- **Example**:
|
||||||
```html
|
```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
|
This is an example of an epigraph with some math
|
||||||
$ \mathbb N \subseteq \mathbb R $
|
$ \mathbb N \subseteq \mathbb R $
|
||||||
to start the beginning of a section.
|
to start the beginning of a section.
|
||||||
|
|
Loading…
Reference in a new issue