mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 11:05:16 +02:00
starters: add line numbers example
This commit is contained in:
parent
3c3e1ed96b
commit
1ce2548dcf
3 changed files with 12 additions and 10 deletions
|
@ -74,6 +74,8 @@ taxonomies:
|
||||||
author: authors
|
author: authors
|
||||||
markup:
|
markup:
|
||||||
_merge: deep
|
_merge: deep
|
||||||
|
highlight:
|
||||||
|
lineNos: false
|
||||||
related:
|
related:
|
||||||
threshold: 80
|
threshold: 80
|
||||||
includeNewer: true
|
includeNewer: true
|
||||||
|
|
|
@ -8,8 +8,8 @@ date: '2019-02-05'
|
||||||
slides:
|
slides:
|
||||||
# Choose a theme from https://github.com/hakimel/reveal.js#theming
|
# Choose a theme from https://github.com/hakimel/reveal.js#theming
|
||||||
theme: black
|
theme: black
|
||||||
# Choose a code highlighting style (if highlighting enabled in `params.toml`)
|
# Choose a code highlighting style (see Hugo docs on Chroma)
|
||||||
# Light style: github. Dark style: dracula (default).
|
# Light style: github-light. Dark style: dracula (default).
|
||||||
highlight_style: dracula
|
highlight_style: dracula
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -73,16 +73,16 @@ $$
|
||||||
Make content appear incrementally
|
Make content appear incrementally
|
||||||
|
|
||||||
```
|
```
|
||||||
{{%/* fragment */%}} One {{%/* /fragment */%}}
|
{{</* fragment */>}} $\mathbf{y} = $ {{</* /fragment */>}}
|
||||||
{{%/* fragment */%}} **Two** {{%/* /fragment */%}}
|
{{</* fragment */>}} $X\boldsymbol\beta$ {{</* /fragment */>}}
|
||||||
{{%/* fragment */%}} Three {{%/* /fragment */%}}
|
{{</* fragment */>}} $+ \boldsymbol\varepsilon$ {{</* /fragment */>}}
|
||||||
```
|
```
|
||||||
|
|
||||||
Press `Space` to play!
|
Press `Space` to play!
|
||||||
|
|
||||||
{{% fragment %}} One {{% /fragment %}}
|
{{< fragment >}} $\mathbf{y} = $ {{< /fragment >}}
|
||||||
{{% fragment %}} **Two** {{% /fragment %}}
|
{{< fragment >}} $X\boldsymbol\beta$ {{< /fragment >}}
|
||||||
{{% fragment %}} Three {{% /fragment %}}
|
{{< fragment >}} $+ \boldsymbol\varepsilon$ {{< /fragment >}}
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -58,8 +58,8 @@ locale:
|
||||||
|
|
||||||
features:
|
features:
|
||||||
syntax_highlighter:
|
syntax_highlighter:
|
||||||
theme_day: github-light
|
theme_light: github-light
|
||||||
theme-dark: dracula
|
theme_dark: dracula
|
||||||
math:
|
math:
|
||||||
enable: false
|
enable: false
|
||||||
privacy_pack:
|
privacy_pack:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue