mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 03:00:50 +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
|
||||
markup:
|
||||
_merge: deep
|
||||
highlight:
|
||||
lineNos: false
|
||||
related:
|
||||
threshold: 80
|
||||
includeNewer: true
|
||||
|
|
|
@ -8,8 +8,8 @@ date: '2019-02-05'
|
|||
slides:
|
||||
# Choose a theme from https://github.com/hakimel/reveal.js#theming
|
||||
theme: black
|
||||
# Choose a code highlighting style (if highlighting enabled in `params.toml`)
|
||||
# Light style: github. Dark style: dracula (default).
|
||||
# Choose a code highlighting style (see Hugo docs on Chroma)
|
||||
# Light style: github-light. Dark style: dracula (default).
|
||||
highlight_style: dracula
|
||||
---
|
||||
|
||||
|
@ -73,16 +73,16 @@ $$
|
|||
Make content appear incrementally
|
||||
|
||||
```
|
||||
{{%/* fragment */%}} One {{%/* /fragment */%}}
|
||||
{{%/* fragment */%}} **Two** {{%/* /fragment */%}}
|
||||
{{%/* fragment */%}} Three {{%/* /fragment */%}}
|
||||
{{</* fragment */>}} $\mathbf{y} = $ {{</* /fragment */>}}
|
||||
{{</* fragment */>}} $X\boldsymbol\beta$ {{</* /fragment */>}}
|
||||
{{</* fragment */>}} $+ \boldsymbol\varepsilon$ {{</* /fragment */>}}
|
||||
```
|
||||
|
||||
Press `Space` to play!
|
||||
|
||||
{{% fragment %}} One {{% /fragment %}}
|
||||
{{% fragment %}} **Two** {{% /fragment %}}
|
||||
{{% fragment %}} Three {{% /fragment %}}
|
||||
{{< fragment >}} $\mathbf{y} = $ {{< /fragment >}}
|
||||
{{< fragment >}} $X\boldsymbol\beta$ {{< /fragment >}}
|
||||
{{< fragment >}} $+ \boldsymbol\varepsilon$ {{< /fragment >}}
|
||||
|
||||
---
|
||||
|
||||
|
|
|
@ -58,8 +58,8 @@ locale:
|
|||
|
||||
features:
|
||||
syntax_highlighter:
|
||||
theme_day: github-light
|
||||
theme-dark: dracula
|
||||
theme_light: github-light
|
||||
theme_dark: dracula
|
||||
math:
|
||||
enable: false
|
||||
privacy_pack:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue